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;
|
return retCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool set(uint8_t argc, char **args) {
|
static bool setCmd(uint8_t argc, char **args) {
|
||||||
bool retCode = false;
|
bool retCode = false;
|
||||||
|
|
||||||
if (argc >= 1) {
|
if (argc >= 1) {
|
||||||
@ -77,6 +77,12 @@ const cmd_t CONFIG_COMMANDS[] = {
|
|||||||
.help = \
|
.help = \
|
||||||
"show ................................. Show the configuration\n\r"
|
"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,
|
{ .name = "restart", .cmdFunc = restartCmd,
|
||||||
.help = \
|
.help = \
|
||||||
"restart .............................. Restart the system,\n\r" \
|
"restart .............................. Restart the system,\n\r" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user