Browse Source

Fix NoFUSS reference in settings.ino

fastled
Xose Pérez 7 years ago
parent
commit
dbb1e99ebd
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      code/espurna/settings.ino

+ 8
- 4
code/espurna/settings.ino View File

@ -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();


Loading…
Cancel
Save