add disable_reset

This commit is contained in:
proddy
2026-07-26 13:42:50 +02:00
parent 2bef33f81a
commit a469507fb6

View File

@@ -172,7 +172,8 @@ void WebStatusService::systemStatus(AsyncWebServerRequest * request) {
}
root["developer_mode"] = EMSESP::system_.developer_mode();
root["disable_reset"] = EMSESP::system_.disable_reset();
// Also used in SystemMonitor.tsx
root["status"] = EMSESP::system_.systemStatus(); // send the status. See System.h for status codes
if (EMSESP::system_.systemStatus() == SYSTEM_STATUS::SYSTEM_STATUS_PENDING_RESTART) {