PFW-1515 Fix an issue with Thermal Anomaly message
Issue introduced with PFW-1504 Change in memory: Flash: +40 bytes SRAM: 0 bytes
This commit is contained in:
parent
16ec3e376f
commit
c5fc1168ed
|
|
@ -562,7 +562,9 @@ void lcdui_print_status_line(void) {
|
||||||
scrollstuff = 0;
|
scrollstuff = 0;
|
||||||
}
|
}
|
||||||
} else { // Otherwise check for other special events
|
} else { // Otherwise check for other special events
|
||||||
if (!lcd_status_message_timeout.expired_cont(LCD_STATUS_DELAYED_TIMEOUT))
|
if ( custom_message_type != CustomMsg::Status
|
||||||
|
&& lcd_status_message_timeout.running()
|
||||||
|
&& lcd_status_message_timeout.elapsed() < LCD_STATUS_DELAYED_TIMEOUT)
|
||||||
{
|
{
|
||||||
return; // Nothing to do, waiting for delay to expire
|
return; // Nothing to do, waiting for delay to expire
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue