mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
remove sleep from display controller due to negative impact on scrolling text
This commit is contained in:
@@ -1080,8 +1080,8 @@ class DisplayController:
|
||||
# Force clear on the next iteration after an error to be safe
|
||||
self.force_clear = True
|
||||
|
||||
# Add a short sleep to prevent high CPU usage
|
||||
time.sleep(0.1)
|
||||
# Add a short sleep to prevent high CPU usage but ruin scrolling text
|
||||
# time.sleep(0.1)
|
||||
|
||||
except KeyboardInterrupt:
|
||||
logger.info("Display controller stopped by user")
|
||||
|
||||
Reference in New Issue
Block a user