definition of set

This commit is contained in:
Wolfgang Hottgenroth 2020-12-11 12:12:57 +01:00
parent 5a24e47d77
commit 22e10e82fc
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -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" \