From 98d2abad67bf05868f558b2c513fa10a3a2e0306 Mon Sep 17 00:00:00 2001 From: Max Prokhorov Date: Sat, 1 Dec 2018 06:47:43 +0300 Subject: [PATCH] RELOAD cmd without WEB_SUPPORT (#1383) --- code/espurna/settings.ino | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/code/espurna/settings.ino b/code/espurna/settings.ino index 6c545e85..f76711d2 100644 --- a/code/espurna/settings.ino +++ b/code/espurna/settings.ino @@ -274,12 +274,10 @@ void _settingsInitCommands() { DEBUG_MSG_P(PSTR("+OK\n")); }); - #if WEB_SUPPORT - settingsRegisterCommand(F("RELOAD"), [](Embedis* e) { - espurnaReload(); - DEBUG_MSG_P(PSTR("+OK\n")); - }); - #endif + settingsRegisterCommand(F("RELOAD"), [](Embedis* e) { + espurnaReload(); + DEBUG_MSG_P(PSTR("+OK\n")); + }); settingsRegisterCommand(F("RESET"), [](Embedis* e) { DEBUG_MSG_P(PSTR("+OK\n"));