OTA: screen stays on with a progress bar and 'do not switch off' (flash writes no longer blank the panel under XIP); wiki step 4

This commit is contained in:
2026-09-27 18:00:33 +02:00
parent 26e61190f9
commit 990ba68590
7 changed files with 174 additions and 16 deletions
+3 -3
View File
@@ -528,9 +528,9 @@ static void onInstall(lv_event_t* e) {
char title[64];
snprintf(title, sizeof(title), "Install %s?", o.latest);
confirm(title,
"The screen goes dark for about a minute while the new firmware is written, "
"A progress bar shows while the new firmware downloads (about a minute), "
"then Controller A restarts. Controller B's gauges drop out for a few seconds.\n\n"
"Only while parked with the engine off.",
"Do not switch off the ignition until it has restarted. Only while parked with the engine off.",
"Install", onInstallConfirmed, NULL);
}
@@ -623,7 +623,7 @@ static void buildUpdatesPage(lv_obj_t* page) {
lv_obj_t* note = label(page,
"Updates come from " OTA_SERVER " and are signed. Installing takes about a minute: "
"the screen goes dark while the new firmware is written, then the controller restarts. "
"a progress bar shows while the new firmware is written, then the controller restarts. "
"If it doesn't start properly, it goes back to the current version by itself.",
&lv_font_montserrat_20, UI_COL_MUTED);
lv_label_set_long_mode(note, LV_LABEL_LONG_WRAP);