1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

correct backward xdr mapping for unknown instance, prefer instance mode single for unmapped, improve traces

This commit is contained in:
wellenvogel
2021-12-03 22:51:31 +01:00
parent 236c417fb5
commit 84483024ac
4 changed files with 47 additions and 37 deletions

View File

@@ -161,7 +161,7 @@ class GwXDRFoundMapping : public GwBoatItemNameProvider{
this->type=type;
empty=false;
}
GwXDRFoundMapping(GwXDRMapping* mapping,int instance=-1){
GwXDRFoundMapping(GwXDRMapping* mapping,int instance=0){
this->definition=mapping->definition;
this->type=mapping->type;
this->instanceId=instance;