cmd handler stuff
This commit is contained in:
parent
6c81b1bf5f
commit
ebfcba13bb
@ -104,7 +104,7 @@ int8_t cmdExecuteCommand(uint8_t *cmdLine, bool resetConfigMode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int8_t retCode = 0;
|
int8_t retCode = 0;
|
||||||
char *cmd = strtok(cmdLine, ' ');
|
char *cmd = strtok(cmdLine, " ");
|
||||||
coloredMsg(LOG_YELLOW, "cec, cmdLine is %s, cmd is %s", cmdLine, cmd);
|
coloredMsg(LOG_YELLOW, "cec, cmdLine is %s, cmd is %s", cmdLine, cmd);
|
||||||
if (0 == strcmp(cmd, "quit")) {
|
if (0 == strcmp(cmd, "quit")) {
|
||||||
messageToSend = GOODBYE_MSG;
|
messageToSend = GOODBYE_MSG;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user