cmd handler stuff

This commit is contained in:
Wolfgang Hottgenroth 2020-11-16 16:01:41 +01:00
parent 6c81b1bf5f
commit ebfcba13bb
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -104,7 +104,7 @@ int8_t cmdExecuteCommand(uint8_t *cmdLine, bool resetConfigMode) {
}
int8_t retCode = 0;
char *cmd = strtok(cmdLine, ' ');
char *cmd = strtok(cmdLine, " ");
coloredMsg(LOG_YELLOW, "cec, cmdLine is %s, cmd is %s", cmdLine, cmd);
if (0 == strcmp(cmd, "quit")) {
messageToSend = GOODBYE_MSG;