Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8f73b3e

Browse files
main.py: add missing import
1 parent32b4204 commit8f73b3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎internal_filesystem/main.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
fs_drv=lv.fs_drv_t()
77
fs_driver.fs_register(fs_drv,'M')
88

9+
importmpos.apps
910
importmpos.ui
1011

1112
RED=lv.palette_main(lv.PALETTE.RED)
@@ -26,10 +27,10 @@
2627
mpos.ui.handle_top_swipe()
2728
mpos.ui.th=task_handler.TaskHandler(duration=5)# 5ms is recommended for MicroPython+LVGL on desktop
2829

29-
# Maybe this should only be done if there is not already a "builtin" folder... with the expected apps/4apps
3030
try:
3131
importfreezefs_mount_builtin
3232
exceptExceptionase:
33+
# This will throw an exception if there is already a "/builtin" folder present
3334
print("main.py: WARNING: could not import/run freezefs_mount_builtin: ",e)
3435

3536
frommposimportapps

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp