definition of set
This commit is contained in:
parent
5a24e47d77
commit
22e10e82fc
@ -51,7 +51,7 @@ static bool showConfigCmd(uint8_t argc, char **args) {
|
||||
return retCode;
|
||||
}
|
||||
|
||||
static bool set(uint8_t argc, char **args) {
|
||||
static bool setCmd(uint8_t argc, char **args) {
|
||||
bool retCode = false;
|
||||
|
||||
if (argc >= 1) {
|
||||
@ -77,6 +77,12 @@ const cmd_t CONFIG_COMMANDS[] = {
|
||||
.help = \
|
||||
"show ................................. Show the configuration\n\r"
|
||||
},
|
||||
{ .name = "set", cmdFunc = setCmd,
|
||||
.help = \
|
||||
"set .................................. Set configuration parameters\n\r" \
|
||||
" Argument ? gives a list of \n\r" \
|
||||
" parameters\n\r"
|
||||
},
|
||||
{ .name = "restart", .cmdFunc = restartCmd,
|
||||
.help = \
|
||||
"restart .............................. Restart the system,\n\r" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user