mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user