You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Sound Recorder and Music Player apps: simplify imports
This commit is contained in:
@@ -2,8 +2,7 @@ import machine
|
||||
import os
|
||||
import time
|
||||
|
||||
from mpos import Activity, Intent, sdcard, get_event_name
|
||||
import mpos.audio.audioflinger as AudioFlinger
|
||||
from mpos import Activity, Intent, sdcard, get_event_name, audio as AudioFlinger
|
||||
|
||||
class MusicPlayer(Activity):
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
import os
|
||||
import time
|
||||
|
||||
from mpos import Activity, ui
|
||||
import mpos.audio.audioflinger as AudioFlinger
|
||||
from mpos import Activity, ui, audio as AudioFlinger
|
||||
|
||||
|
||||
def _makedirs(path):
|
||||
|
||||
Reference in New Issue
Block a user