diff --git a/code/espurna/settings.ino b/code/espurna/settings.ino index 47d6bf3c..fd20b21a 100644 --- a/code/espurna/settings.ino +++ b/code/espurna/settings.ino @@ -99,6 +99,8 @@ void settingsSetup() { e->response(s); }, 0); + // ------------------------------------------------------------------------- + Embedis::command( F("RESET.WIFI"), [](Embedis* e) { wifiConfigure(); wifiDisconnect(); @@ -117,10 +119,12 @@ void settingsSetup() { ESP.restart(); }); - Embedis::command( F("NOFUSS"), [](Embedis* e) { - e->response(Embedis::OK); - nofussRun(); - }); + #if NOFUSS_SUPPORT + Embedis::command( F("NOFUSS"), [](Embedis* e) { + e->response(Embedis::OK); + nofussRun(); + }); + #endif Embedis::command( F("FACTORY.RESET"), [](Embedis* e) { settingsFactoryReset();