start set command
This commit is contained in:
parent
b126217dab
commit
afb792a4fe
@ -48,9 +48,22 @@ static bool showConfigCmd(uint8_t argc, char **args) {
|
||||
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) {
|
||||
HAL_NVIC_SystemReset();
|
||||
// you want come here ...
|
||||
// you won't come here ...
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user