cmd handler stuff

This commit is contained in:
Wolfgang Hottgenroth 2020-11-16 15:57:49 +01:00
parent 0a2e630231
commit 6c81b1bf5f
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -105,7 +105,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); 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;
retCode = -1; retCode = -1;