Skip to content

Commit c09e023

Browse files
main.py: simplify
1 parent 25b83a7 commit c09e023

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

internal_filesystem/main.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
import lvgl as lv
21
import task_handler
3-
4-
# 5ms is recommended for MicroPython+LVGL on desktop:
5-
th = task_handler.TaskHandler(duration=5)
2+
th = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop
63

74
from mpos import ui
8-
95
ui.create_rootscreen()
106
ui.create_notification_bar()
117
ui.create_drawer(display)
@@ -16,7 +12,6 @@
1612
print("main.py: WARNING: could not import/run freezefs_mount_builtin: ", e)
1713

1814
from mpos import apps
19-
2015
apps.execute_script_new_thread("builtin/system/button.py", True, False, False) # Button handling through IRQ
2116
apps.auto_connect()
2217
apps.restart_launcher()

0 commit comments

Comments
 (0)