mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 06:23:07 +01:00
correctly handle pass and sizes
This commit is contained in:
@@ -10,18 +10,6 @@ class GwConfigInterface{
|
||||
const char * initialValue;
|
||||
String value;
|
||||
bool secret=false;
|
||||
String changedValue;
|
||||
bool hasChangedValue=false;
|
||||
void updateValue(String value)
|
||||
{
|
||||
hasChangedValue = false;
|
||||
if (value != this->value)
|
||||
{
|
||||
changedValue = value;
|
||||
hasChangedValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
public:
|
||||
GwConfigInterface(const String &name, const char * initialValue, bool secret=false){
|
||||
this->name=name;
|
||||
|
||||
Reference in New Issue
Block a user