1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

n2k engine pgns, untested

This commit is contained in:
wellenvogel
2021-11-25 22:16:51 +01:00
parent 99ba4b3d8e
commit dbadb6fb11
5 changed files with 79 additions and 6 deletions

View File

@@ -284,7 +284,7 @@ template<class T> GwBoatItem<T> *GwBoatData::getOrCreate(T initial, GwBoatItemNa
name.c_str(),rt->getCurrentType());
return rt;
}
template<class T> bool GwBoatData::update(T value,int source,GwBoatItemNameProvider *provider){
template<class T> bool GwBoatData::update(const T value,int source,GwBoatItemNameProvider *provider){
GwBoatItem<T> *item=getOrCreate(value,provider);
if (! item) return false;
return item->update(value,source);