Browse Source

Added reset command from console

fastled
Xose Pérez 8 years ago
parent
commit
bff50db77d
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      code/src/settings.ino

+ 5
- 0
code/src/settings.ino View File

@ -47,6 +47,11 @@ void settingsSetup() {
e->response(Embedis::OK); e->response(Embedis::OK);
}); });
Embedis::command( F("reset"), [](Embedis* e) {
e->response(Embedis::OK);
ESP.reset();
});
DEBUG_MSG("[SETTINGS] Initialized\n"); DEBUG_MSG("[SETTINGS] Initialized\n");
} }


Loading…
Cancel
Save