Add static blocking write function to gui. This allows us to set a updating... status on the display when starting the updater.

This commit is contained in:
2021-05-22 11:34:33 +02:00
parent afadd539c8
commit 708fdea058
4 changed files with 21 additions and 0 deletions

View File

@@ -842,3 +842,14 @@ void gui_root_menu_message_set(const char *heading, const char *text)
strcpy(overlay_text, text);
}
}
void gui_lcd_write_direct_blocking(uint8_t line, const char *text)
{
if (!text)
return;
if (line > 3)
return;
lcd_setcursor(0, line);
lcd_string(text);
}