mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 13:23:00 +00:00
Remove sleep delays to improve display frame rate
This commit is contained in:
@@ -210,11 +210,9 @@ class DisplayController:
|
|||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Error updating display for mode {self.current_display_mode}: {e}", exc_info=True)
|
logger.error(f"Error updating display for mode {self.current_display_mode}: {e}", exc_info=True)
|
||||||
time.sleep(1)
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
self.force_clear = False
|
self.force_clear = False
|
||||||
time.sleep(self.update_interval)
|
|
||||||
|
|
||||||
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