mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-02-12 07:33:07 +01:00
Added <cvalue> to OBP60Formatter to return numerical converted value
This commit is contained in:
@@ -195,9 +195,10 @@ String formatLongitude(double lon);
|
||||
|
||||
// Structure for formatted boat values
|
||||
typedef struct{
|
||||
double value;
|
||||
String svalue;
|
||||
String unit;
|
||||
double value; // SI value of boat data value
|
||||
double cvalue; // value converted to target unit
|
||||
String svalue; // value converted to target unit and formatted
|
||||
String unit; // target value unit
|
||||
} FormattedData;
|
||||
|
||||
// Formatter for boat values
|
||||
|
||||
Reference in New Issue
Block a user