From 9ac8d149fb42945bdca3c6499bf631b1f97717b7 Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 20 Jan 2025 12:14:30 +0100 Subject: [PATCH] use system status with standalone --- src/core/system.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index ba9e3f646..08c4fa19b 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -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 {