From 90f800d042472c732a70fd9b457e5fa2682c7adc Mon Sep 17 00:00:00 2001 From: Manuel Weiser Date: Tue, 25 Feb 2025 12:19:24 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20aktualisiere=20Bedingung=20f=C3=BCr=20de?= =?UTF-8?q?n=20Fortschritt=20der=20OTA-Update-Nachricht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ota.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ota.cpp b/src/ota.cpp index 228602e..4610786 100644 --- a/src/ota.cpp +++ b/src/ota.cpp @@ -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);