Skip to content

Commit 9d09d48

Browse files
committed
Hotfix: assume True by default for RESET_ON_STARTUP
1 parent 2ceef67 commit 9d09d48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/display.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def __init__(self):
9090

9191
def initialize_display(self):
9292
# Reset screen in case it was in an unstable state (screen is also cleared)
93-
# Can be disabled by config. option
94-
if config.CONFIG_DATA["display"].get("RESET_ON_STARTUP", False):
93+
# Can be disabled by config. option. Assume true if key not present in config.yaml
94+
if config.CONFIG_DATA["display"].get("RESET_ON_STARTUP", True):
9595
self.lcd.Reset()
9696
else:
9797
logger.debug("RESET_ON_STARTUP is false: display will not be reset")

0 commit comments

Comments
 (0)