|
@@ -758,6 +758,7 @@ void lcdui_print_status_screen(void)
|
|
|
|
|
|
void lcd_status_screen()
|
|
|
{
|
|
|
+ static uint8_t lcd_status_update_delay = 0;
|
|
|
#ifdef ULTIPANEL_FEEDMULTIPLY
|
|
|
|
|
|
if ((feedmultiply < 100 && (feedmultiply + int(lcd_encoder)) > 100) ||
|
|
@@ -791,11 +792,9 @@ void lcd_status_screen()
|
|
|
if (lcd_status_update_delay)
|
|
|
lcd_status_update_delay--;
|
|
|
else
|
|
|
- lcd_draw_update = 1;
|
|
|
-
|
|
|
-
|
|
|
- if (lcd_draw_update)
|
|
|
- {
|
|
|
+ {
|
|
|
+
|
|
|
+ lcd_status_update_delay = 10;
|
|
|
ReInitLCD++;
|
|
|
if (ReInitLCD == 30)
|
|
|
{
|
|
@@ -832,10 +831,9 @@ void lcd_status_screen()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- lcd_status_update_delay = 10;
|
|
|
if (lcd_commands_type != LcdCommands::Idle)
|
|
|
lcd_commands();
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
bool current_click = LCD_CLICKED;
|
|
|
|