From 28106630c2b2998c85aaf9ea6c848a8e238d16e7 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 16 Nov 2020 14:44:05 +0100 Subject: [PATCH] cmd handler stuff --- cube/User/Src/cmdHandler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cube/User/Src/cmdHandler.c b/cube/User/Src/cmdHandler.c index c57f056..b06d8f8 100644 --- a/cube/User/Src/cmdHandler.c +++ b/cube/User/Src/cmdHandler.c @@ -46,9 +46,11 @@ int8_t cmdExecuteCommand(uint8_t *cmd, bool resetConfigMode) { send(CMD_SOCK, GOODBYE_MSG, sizeof(GOODBYE_MSG)); retCode = -1; } else if (0 == strcmp(cmd, "enable")) { + coloredMsg(LOG_YELLOW, "cec, enable config mode"); configMode = true; retCode = 1; } else if (0 == strcmp(cmd, "disable")) { + coloredMsg(LOG_YELLOW, "cec, disable config mode"); configMode = false; retCode = 2; }