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
2025-08-05 19:43:05 +02:00
parent ec0e544f30
commit 09f4c43f89
4 changed files with 8 additions and 19 deletions

View File

@@ -154,9 +154,6 @@ void sendToApi(void *parameter) {
remainingWeight = 0;
break;
}
// TBD: really required?
vTaskDelay(3000 / portTICK_PERIOD_MS);
}
doc.clear();
} else {
@@ -170,8 +167,7 @@ void sendToApi(void *parameter) {
oledShowProgressBar(1, 1, "Failure!", "Octoprint update");
break;
case API_REQUEST_BAMBU_UPDATE:
// TBD: rework error
oledShowMessage("Spoolman update failed");
oledShowProgressBar(1, 1, "Failure!", "Bambu update");
break;
}
Serial.println("Fehler beim Senden an Spoolman! HTTP Code: " + String(httpCode));