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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user