mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 06:23:07 +01:00
intermediate: dynamic boat data for xdr
This commit is contained in:
@@ -1222,6 +1222,7 @@ private:
|
||||
}
|
||||
GwXDRFoundMapping mapping=xdrMappings->getMapping(XDRPRESSURE,(int)PressureSource,0,PressureInstance);
|
||||
if (mapping.empty) return;
|
||||
if (! boatData->update(ActualPressure,sourceId,&mapping)) return;
|
||||
LOG_DEBUG(GwLog::DEBUG+1,"found pressure mapping %s",mapping.definition->toString().c_str());
|
||||
addToXdr(mapping.buildXdrEntry(ActualPressure));
|
||||
finalizeXdr();
|
||||
|
||||
Reference in New Issue
Block a user