mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-17 00:21:31 +10:00
disable setvalue on customhtml params
This commit is contained in:
@@ -63,6 +63,10 @@ WiFiManagerParameter::~WiFiManagerParameter() {
|
||||
}
|
||||
|
||||
void WiFiManagerParameter::setValue(const char *defaultValue, int length) {
|
||||
if(!_id){
|
||||
// Serial.println("cannot set value of this parameter");
|
||||
return;
|
||||
}
|
||||
_length = length;
|
||||
int deflength = strlen(defaultValue); // length actual
|
||||
// use the defult length if it's longer,
|
||||
|
||||
Reference in New Issue
Block a user