From 87cca64c79fbf838173d636c59edb724694cd0fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Ha=C3=9Fel?= Date: Thu, 11 Apr 2024 21:03:39 +0200 Subject: [PATCH] console strtok FIX --- lib/patrix/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/patrix/console.cpp b/lib/patrix/console.cpp index 60556f0..0109875 100644 --- a/lib/patrix/console.cpp +++ b/lib/patrix/console.cpp @@ -73,7 +73,7 @@ void consoleHandle(char *cmd) { _reboot(); } else if (strcmp(first, "debug") == 0) { _debug(); - } else if (strcmp(first, "config reset") == 0) { + } else if (strcmp(first, "config_reset") == 0) { configReset(); } else if (!patrix_command((char *) cmd)) { info("Unknown command: %s", cmd); @@ -86,7 +86,7 @@ void _usage() { info("debug"); info("reboot"); - info("config reset"); + info("config_reset"); info("wifi reconnect"); info("wifi ssid ");