mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-01-26 08:13:05 +01:00
added helper method for boat value conversion to OBP60Formatter;
fixed range calculation for temperature and other value formats; fixed printing for names > len(3); show "mode" only for supported data types
This commit is contained in:
@@ -204,3 +204,6 @@ typedef struct{
|
||||
|
||||
// Formatter for boat values
|
||||
FormattedData formatValue(GwApi::BoatValue *value, CommonData &commondata);
|
||||
|
||||
// Helper method for conversion of any data value from SI to user defined format (defined in OBP60Formatter)
|
||||
double convertValue(const double &value, const String &format, CommonData &commondata);
|
||||
|
||||
Reference in New Issue
Block a user