mirror of
https://github.com/tugsi/Filaman.git
synced 2026-11-12 18:50:38 +01:00
fix: aktualisiere Bedingung für den Fortschritt der OTA-Update-Nachricht
This commit is contained in:
1 parent
a7b1721e1d
commit
90f800d042
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user