Fix regression of reboot handler / reboot waiting script (#1725)

* Reboot after OTA: Avoid exeception

* Overview - optimize reload behaviour after reboot

* Update

* Update
This commit is contained in:
Slider0007
2022-12-30 21:58:46 +01:00
committed by GitHub
parent 58cbd680e8
commit 33f357d8da
4 changed files with 51 additions and 35 deletions

View File

@@ -180,7 +180,7 @@ esp_err_t reboot_handlerAP(httpd_req_t *req)
LogFile.WriteHeapInfo("handler_ota_update - Start");
#endif
LogFile.WriteToFile(ESP_LOG_INFO, TAG, "Trigger reboot due to firmware update.");
doReboot();
doRebootOTA();
return ESP_OK;
};