diff --git a/code/src/settings.ino b/code/src/settings.ino index bbef7534..29e0826d 100644 --- a/code/src/settings.ino +++ b/code/src/settings.ino @@ -47,6 +47,11 @@ void settingsSetup() { e->response(Embedis::OK); }); + Embedis::command( F("reset"), [](Embedis* e) { + e->response(Embedis::OK); + ESP.reset(); + }); + DEBUG_MSG("[SETTINGS] Initialized\n"); }