mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-02-11 07:03:07 +01:00
avoid creating unmapped XDR entries for unset N2K values
This commit is contained in:
@@ -143,7 +143,7 @@ private:
|
||||
*/
|
||||
GwXDRFoundMapping getOtherFieldMapping(GwXDRFoundMapping &found, int field){
|
||||
if (found.empty) return GwXDRFoundMapping();
|
||||
return xdrMappings->getMapping(found.definition->category,
|
||||
return xdrMappings->getMapping(0,found.definition->category,
|
||||
found.definition->selector,
|
||||
field,
|
||||
found.instanceId);
|
||||
|
||||
Reference in New Issue
Block a user