Browse Source

RELOAD cmd without WEB_SUPPORT (#1383)

alexa
Max Prokhorov 6 years ago
committed by GitHub
parent
commit
98d2abad67
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      code/espurna/settings.ino

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

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


Loading…
Cancel
Save