diff --git a/cube/User/Src/configCmds.c b/cube/User/Src/configCmds.c index e6217d2..2f93bee 100644 --- a/cube/User/Src/configCmds.c +++ b/cube/User/Src/configCmds.c @@ -226,7 +226,7 @@ static bool addDeviceCmd(uint8_t argc, char **args) { } static bool changeDeviceCmd(uint8_t argc, char **args) { - if (strcmp(args[1], "help")) { + if (strcmp(args[1], "help") == 0) { sendString("First argument: index of device in list\n\r"); sendFormatString("Between 0 and %d\n\r", getConfig()->numOfDeviceBlocks); sendString("For further arguments use a * to keep the value\n\r");