1
0
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:
andreas
2021-10-21 16:13:52 +02:00
parent 88cb8657bd
commit f054413de4
5 changed files with 528 additions and 414 deletions

View File

@@ -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");