mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-01-02 21:00:32 -07:00
display: Check for redraw_request_pending at end of screen_update_event()
Some checks are pending
Build test / build (push) Waiting to run
Some checks are pending
Build test / build (push) Waiting to run
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
aa59b32031
commit
68b67a16d6
1 changed files with 2 additions and 0 deletions
|
|
@ -236,6 +236,8 @@ class PrinterLCD:
|
|||
except:
|
||||
logging.exception("Error during display screen update")
|
||||
self.lcd_chip.flush()
|
||||
if self.redraw_request_pending:
|
||||
return self.redraw_time
|
||||
return eventtime + REDRAW_TIME
|
||||
def request_redraw(self):
|
||||
if self.redraw_request_pending:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue