Fix fullscreen message lcd_update handling
This commit is contained in:
parent
2059e40596
commit
3c579bf738
|
|
@ -702,6 +702,7 @@ void lcd_update(uint8_t lcdDrawUpdateOverride)
|
||||||
|
|
||||||
void lcd_update_enable(uint8_t enabled)
|
void lcd_update_enable(uint8_t enabled)
|
||||||
{
|
{
|
||||||
|
// printf_P(PSTR("lcd_update_enable(%u -> %u)\n"), lcd_update_enabled, enabled);
|
||||||
if (lcd_update_enabled != enabled)
|
if (lcd_update_enabled != enabled)
|
||||||
{
|
{
|
||||||
lcd_update_enabled = enabled;
|
lcd_update_enabled = enabled;
|
||||||
|
|
|
||||||
|
|
@ -3131,8 +3131,6 @@ void lcd_show_fullscreen_message_and_wait_P(const char *msg)
|
||||||
if (msg_next == NULL) {
|
if (msg_next == NULL) {
|
||||||
KEEPALIVE_STATE(IN_HANDLER);
|
KEEPALIVE_STATE(IN_HANDLER);
|
||||||
lcd_set_custom_characters();
|
lcd_set_custom_characters();
|
||||||
lcd_update_enable(true);
|
|
||||||
lcd_update(2);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue