mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
adjustments in Display scheduling to fix blank screen after re-activated
This commit is contained in:
@@ -752,6 +752,7 @@ class DisplayController:
|
||||
if should_be_active and not self.is_display_active:
|
||||
logger.info("Within scheduled time. Activating display.")
|
||||
self.is_display_active = True
|
||||
self.force_clear = True # Force a redraw
|
||||
elif not should_be_active and self.is_display_active:
|
||||
logger.info("Outside of scheduled time. Deactivating display.")
|
||||
self.display_manager.clear()
|
||||
|
||||
Reference in New Issue
Block a user