You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Change task_handler period back to 5ms
Just to be safe, as the framerate is fine currently.
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user