If lcd_draw_update is set outside lcd_status_screen

then render the sceen without delay

This adds only 10 bytes of flash
This commit is contained in:
Guðni Már Gilbert 2022-07-27 11:55:08 +00:00
parent f6fd91a235
commit ca8d47a6da
1 changed files with 5 additions and 0 deletions

View File

@ -789,6 +789,11 @@ void lcd_status_screen() // NOT static due to using ins
else if (feedmultiply > 999)
feedmultiply = 999;
if (lcd_draw_update) {
// Update the status screen immediately
lcd_status_update_delay = 0;
}
if (lcd_status_update_delay)
lcd_status_update_delay--;
else