mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
show restarting before it actually restarts
This commit is contained in:
@@ -2088,7 +2088,7 @@ bool System::uploadFirmwareURL(const char * url) {
|
|||||||
http.end();
|
http.end();
|
||||||
saved_url.clear(); // prevent from downloading again
|
saved_url.clear(); // prevent from downloading again
|
||||||
LOG_INFO("Firmware uploaded successfully. Restarting...");
|
LOG_INFO("Firmware uploaded successfully. Restarting...");
|
||||||
EMSESP::system_.systemStatus(SYSTEM_STATUS::SYSTEM_STATUS_RESTART_REQUESTED);
|
EMSESP::system_.systemStatus(SYSTEM_STATUS::SYSTEM_STATUS_PENDING_RESTART);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return true; // OK
|
return true; // OK
|
||||||
|
|||||||
Reference in New Issue
Block a user