Fixes types and some issues in the new graphics

Fixes further issues with the new graphics. Fixes some typos. Adds progress bar for upgrade process.
This commit is contained in:
Jan Philipp Ecker committed 2025-08-05 19:43:05 +02:00
1 parent b94db80321
commit 5b04c2eb80
4 files changed
+8 -19

No files matched your search

+1 -1
View File
@@ -224,7 +224,7 @@ void handleUpdate(AsyncWebServer &server) {
static int lastProgress = -1;
if (currentProgress != lastProgress && (currentProgress % 10 == 0 || final)) {
sendUpdateProgress(currentProgress, "uploading");
oledShowMessage("Update: " + String(currentProgress) + "%");
oledShowProgressBar(currentProgress, 100, "Update", "Download");
vTaskDelay(50 / portTICK_PERIOD_MS);
lastProgress = currentProgress;
}