mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13: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
|
# Force clear on the next iteration after an error to be safe
|
||||||
self.force_clear = True
|
self.force_clear = True
|
||||||
|
|
||||||
# Add a short sleep to prevent high CPU usage
|
# Add a short sleep to prevent high CPU usage but ruin scrolling text
|
||||||
time.sleep(0.1)
|
# time.sleep(0.1)
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
logger.info("Display controller stopped by user")
|
logger.info("Display controller stopped by user")
|
||||||
|
|||||||
Reference in New Issue
Block a user