mirror of
https://github.com/andreili/klipper.git
synced 2025-09-18 19:14:41 +02:00
display: Check for redraw_request_pending at end of screen_update_event()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
aa59b32031
commit
68b67a16d6
@ -236,6 +236,8 @@ class PrinterLCD:
|
|||||||
except:
|
except:
|
||||||
logging.exception("Error during display screen update")
|
logging.exception("Error during display screen update")
|
||||||
self.lcd_chip.flush()
|
self.lcd_chip.flush()
|
||||||
|
if self.redraw_request_pending:
|
||||||
|
return self.redraw_time
|
||||||
return eventtime + REDRAW_TIME
|
return eventtime + REDRAW_TIME
|
||||||
def request_redraw(self):
|
def request_redraw(self):
|
||||||
if self.redraw_request_pending:
|
if self.redraw_request_pending:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user