mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
intermediate: use header for n2kton0183 functions
This commit is contained in:
@@ -82,12 +82,14 @@ bool GwConfigHandler::updateValue(const char *name, const char * value){
|
||||
if (i == NULL) return false;
|
||||
logger->logString("update config %s=>%s",name,value);
|
||||
i->fromString(value);
|
||||
return true;
|
||||
}
|
||||
bool GwConfigHandler::updateValue(String name, String value){
|
||||
GwConfigItem *i=findConfig(name);
|
||||
if (i == NULL) return false;
|
||||
logger->logString("update config %s=>%s",name.c_str(),value.c_str());
|
||||
i->fromString(value);
|
||||
return true;
|
||||
}
|
||||
bool GwConfigHandler::reset(bool save){
|
||||
logger->logString("reset config");
|
||||
|
||||
Reference in New Issue
Block a user