Change task_handler period back to 5ms

Just to be safe, as the framerate is fine currently.
This commit is contained in:
Thomas Farstrike
2025-11-10 08:10:08 +01:00
parent 194c740589
commit 2385f076ba
+1 -1
View File
@@ -54,7 +54,7 @@ def custom_exception_handler(e):
import sys
if sys.platform == "esp32":
mpos.ui.th = task_handler.TaskHandler(duration=1) # 1ms gives highest framerate on esp32-s3's
mpos.ui.th = task_handler.TaskHandler(duration=5) # 1ms gives highest framerate on esp32-s3's but might have side effects?
else:
mpos.ui.th = task_handler.TaskHandler(duration=5) # 5ms is recommended for MicroPython+LVGL on desktop (less results in lower framerate)