add timer to periodically redraw lcd even if there is no activity
This commit is contained in:
parent
027a67c530
commit
5fcf419cf0
1 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,9 @@ class LCD_HD44780(octoprint.plugin.StartupPlugin,
|
|||
|
||||
self._lcd_updating = False
|
||||
|
||||
timer = RepeatedTimer(30, self._lcd_update())
|
||||
timer.start()
|
||||
|
||||
def on_settings_initialized(self):
|
||||
self._initialize_lcd()
|
||||
self._printer.register_callback(self)
|
||||
|
|
Loading…
Reference in a new issue