mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-15 17:52:08 +02:00
Update local configuration response failed message
This commit is contained in:
@ -280,7 +280,8 @@ bool Configuration::parse(String data, bool isLocal) {
|
|||||||
if (jconfig[jprop_configurationControl] ==
|
if (jconfig[jprop_configurationControl] ==
|
||||||
String(CONFIGURATION_CONTROL_NAME
|
String(CONFIGURATION_CONTROL_NAME
|
||||||
[ConfigurationControl::ConfigurationControlCloud])) {
|
[ConfigurationControl::ConfigurationControlCloud])) {
|
||||||
failedMessage = "Local configure ignored";
|
failedMessage = "Monitor set to accept only configuration from the "
|
||||||
|
"cloud. Use property configurationControl to change.";
|
||||||
jsonInvalid();
|
jsonInvalid();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user