1
0
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:
Ulrich Meine
2025-11-22 01:32:50 +01:00
parent 81825370c0
commit dd5f05922a
2 changed files with 35 additions and 3 deletions

View File

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