start set command

This commit is contained in:
Wolfgang Hottgenroth 2020-12-11 12:09:32 +01:00
parent b126217dab
commit afb792a4fe
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -48,9 +48,22 @@ static bool showConfigCmd(uint8_t argc, char **args) {
return retCode; return retCode;
} }
static bool set(uint8_t argc, char **args) {
bool retCode = false;
if (argc >= 1) {
if (0 == strcmp("?", args[0])) {
sendString("You can set the following parameters:\n\r");
retCode = true;
}
}
return retCode;
}
static bool restartCmd(uint8_t argc, char **args) { static bool restartCmd(uint8_t argc, char **args) {
HAL_NVIC_SystemReset(); HAL_NVIC_SystemReset();
// you want come here ... // you won't come here ...
return true; return true;
} }