We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ceef67 commit 9d09d48Copy full SHA for 9d09d48
library/display.py
@@ -90,8 +90,8 @@ def __init__(self):
90
91
def initialize_display(self):
92
# 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):
+ # Can be disabled by config. option. Assume true if key not present in config.yaml
+ if config.CONFIG_DATA["display"].get("RESET_ON_STARTUP", True):
95
self.lcd.Reset()
96
else:
97
logger.debug("RESET_ON_STARTUP is false: display will not be reset")
0 commit comments