changed restart behaviour after Firmware-Update

This commit is contained in:
2022-08-19 08:16:33 +02:00
parent a6ae30d655
commit 3048c6c2a1
3 changed files with 16 additions and 3 deletions

View File

@@ -348,7 +348,7 @@ void WebserverFirmwareUpdate_Callback(AsyncWebServerRequest *request, const Stri
{
Serial.println("Update complete");
Serial.flush();
ESP.restart();
globals.systemStatus = sysStat_Shutdown;
}
}
}