Skip to content

Commit 2385f07

Browse files
Change task_handler period back to 5ms
Just to be safe, as the framerate is fine currently.
1 parent 194c740 commit 2385f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal_filesystem/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def custom_exception_handler(e):
5454

5555
import sys
5656
if sys.platform == "esp32":
57-
mpos.ui.th = task_handler.TaskHandler(duration=1) # 1ms gives highest framerate on esp32-s3's
57+
mpos.ui.th = task_handler.TaskHandler(duration=5) # 1ms gives highest framerate on esp32-s3's but might have side effects?
5858
else:
5959
mpos.ui.th = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop (less results in lower framerate)
6060

0 commit comments

Comments
 (0)