cmd handler stuff

This commit is contained in:
Wolfgang Hottgenroth 2020-11-16 16:16:04 +01:00
parent 06ee315f11
commit 4468cc1368
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -113,6 +113,9 @@ int8_t cmdExecuteCommand(uint8_t *cmdLine, bool resetConfigMode) {
args[argc++] = strtok(inCmdLine, " "); args[argc++] = strtok(inCmdLine, " ");
inCmdLine = NULL; inCmdLine = NULL;
} while (args[argc - 1] != NULL); } while (args[argc - 1] != NULL);
if (argc > 0) {
argc--;
}
char *cmd = args[0]; char *cmd = args[0];
int8_t retCode = 0; int8_t retCode = 0;