console strtok FIX

This commit is contained in:
Patrick Haßel 2024-04-11 21:03:39 +02:00
parent 352b3ed89f
commit 87cca64c79

View File

@ -73,7 +73,7 @@ void consoleHandle(char *cmd) {
_reboot(); _reboot();
} else if (strcmp(first, "debug") == 0) { } else if (strcmp(first, "debug") == 0) {
_debug(); _debug();
} else if (strcmp(first, "config reset") == 0) { } else if (strcmp(first, "config_reset") == 0) {
configReset(); configReset();
} else if (!patrix_command((char *) cmd)) { } else if (!patrix_command((char *) cmd)) {
info("Unknown command: %s", cmd); info("Unknown command: %s", cmd);
@ -86,7 +86,7 @@ void _usage() {
info("debug"); info("debug");
info("reboot"); info("reboot");
info("config reset"); info("config_reset");
info("wifi reconnect"); info("wifi reconnect");
info("wifi ssid <SSID>"); info("wifi ssid <SSID>");