We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c3954 commit c5d14f3Copy full SHA for c5d14f3
internal_filesystem/main.py
@@ -52,7 +52,11 @@ def custom_exception_handler(e):
52
focusgroup.remove_all_objs()
53
focusgroup.delete()
54
55
-mpos.ui.th = task_handler.TaskHandler(duration=1) # 5ms is recommended for MicroPython+LVGL on desktop but lower gives higher framerate
+import sys
56
+if sys.platform == "esp32":
57
+ mpos.ui.th = task_handler.TaskHandler(duration=1) # 1ms gives highest framerate on esp32-s3's
58
+else:
59
+ mpos.ui.th = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop (less results in lower framerate)
60
61
try:
62
import freezefs_mount_builtin
0 commit comments