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:
parent
f6fd91a235
commit
ca8d47a6da
|
|
@ -789,6 +789,11 @@ void lcd_status_screen() // NOT static due to using ins
|
||||||
else if (feedmultiply > 999)
|
else if (feedmultiply > 999)
|
||||||
feedmultiply = 999;
|
feedmultiply = 999;
|
||||||
|
|
||||||
|
if (lcd_draw_update) {
|
||||||
|
// Update the status screen immediately
|
||||||
|
lcd_status_update_delay = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (lcd_status_update_delay)
|
if (lcd_status_update_delay)
|
||||||
lcd_status_update_delay--;
|
lcd_status_update_delay--;
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue