drop location
This commit is contained in:
@ -27,7 +27,6 @@ static bool showConfigCmd(uint8_t argc, char **args) {
|
||||
sendFormatString("NTP Server: %s\n\r", configBlock.ntpServer);
|
||||
sendFormatString("deviceId: %s\n\r", configBlock.deviceId);
|
||||
sendFormatString("sharedSecret: (will not be displayed)\n\r");
|
||||
sendFormatString("Location: %s\n\r", configBlock.location);
|
||||
|
||||
return retCode;
|
||||
}
|
||||
@ -102,12 +101,6 @@ static bool setSharedSecretCmd(uint8_t argc, char **args) {
|
||||
sizeof(((t_configBlock*)0)->sharedSecret));
|
||||
}
|
||||
|
||||
static bool setLocationCmd(uint8_t argc, char **args) {
|
||||
return setStringParameterCmd(argc, args,
|
||||
offsetof(t_configBlock, location),
|
||||
sizeof(((t_configBlock*)0)->location));
|
||||
}
|
||||
|
||||
static bool setSinkServerCmd(uint8_t argc, char **args) {
|
||||
return setStringParameterCmd(argc, args,
|
||||
offsetof(t_configBlock, sinkServer),
|
||||
@ -132,10 +125,6 @@ const static cmd_t SET_COMMANDS[] = {
|
||||
.help = \
|
||||
"sharedsecret ......................... Shared secret\n\r"
|
||||
},
|
||||
{ .name = "location", .cmdFunc = setLocationCmd,
|
||||
.help = \
|
||||
"location ............................. Location of this device\n\r"
|
||||
},
|
||||
{ .name = "sinkserver", .cmdFunc = setSinkServerCmd,
|
||||
.help = \
|
||||
"sinkserver ........................... Name of the sink server\n\r"
|
||||
|
Reference in New Issue
Block a user