diff --git a/Software/include/debugger.h b/Software/include/debugger.h index c0c477f..60e0d36 100644 --- a/Software/include/debugger.h +++ b/Software/include/debugger.h @@ -17,6 +17,7 @@ #include #include "webui.h" const char PROGMEM helpCmd[] = "sysinfo - System Info\n" + "reboot - System Reboot\n" "netinfo - WiFi Info\n" "formatPDS - Format Persistence EEPROM Data\n" "formatCFG - Format Configuration EEPROM Data\n" diff --git a/Software/src/debugger.cpp b/Software/src/debugger.cpp index e2f2537..97f4792 100644 --- a/Software/src/debugger.cpp +++ b/Software/src/debugger.cpp @@ -189,6 +189,8 @@ void processCmdDebug(String command) // Check the received command and execute corresponding actions if (command == "help") Debug_printHelp(); + else if (command == "reboot") + globals.systemStatus = sysStat_Shutdown; else if (command == "sysinfo") Debug_printSystemInfo(); else if (command == "netinfo")