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