use system status with standalone

This commit is contained in:
proddy
2025-01-20 12:14:30 +01:00
parent 91e1b0b3b8
commit 9ac8d149fb

View File

@@ -304,8 +304,7 @@ void System::system_restart(const char * partitionname) {
delay(1000); // wait 1 second
ESP.restart();
#else
restart_requested(false);
restart_pending(false);
EMSESP::system_.systemStatus(SYSTEM_STATUS::SYSTEM_STATUS_NORMAL);
if (partitionname != nullptr) {
LOG_INFO("Restarting EMS-ESP from %s partition", partitionname);
} else {