1
0
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:
wellenvogel
2025-09-29 17:53:14 +02:00
parent c21592599f
commit 32862b9e29
4 changed files with 28 additions and 26 deletions

View File

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