changeDevie

This commit is contained in:
Wolfgang Hottgenroth 2020-12-17 16:01:52 +01:00
parent 29fcdb3e41
commit 232db9cb36
Signed by: wn
GPG Key ID: E49AF3B9EF6DD469

View File

@ -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");