fix: aktualisiere Bedingung für den Fortschritt der OTA-Update-Nachricht

This commit is contained in:
Manuel Weiser 2025-02-25 12:19:24 +01:00
parent a7b1721e1d
commit 90f800d042

View File

@ -86,7 +86,7 @@ void sendUpdateProgress(int progress, const char* status = nullptr, const char*
}
progressMsg += "}";
if (progress == 100) {
if (progress >= 100) {
// Sende die Nachricht nur einmal für den Abschluss
ws.textAll("{\"type\":\"updateProgress\",\"progress\":100,\"status\":\"success\",\"message\":\"Update successful! Restarting device...\"}");
delay(50);