mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
intermediate: fix some n2k->xdr mappings, add backwards conversions
This commit is contained in:
@@ -171,6 +171,10 @@ class GwXDRFoundMapping : public GwBoatItemNameProvider{
|
||||
String getTransducerName(){
|
||||
return definition->getTransducerName(instanceId);
|
||||
}
|
||||
double valueFromXdr(double value){
|
||||
if (type->fromnmea) return (*(type->fromnmea))(value);
|
||||
return value;
|
||||
}
|
||||
XdrEntry buildXdrEntry(double value);
|
||||
//boat Data info
|
||||
virtual String getBoatItemName(){
|
||||
|
||||
Reference in New Issue
Block a user