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

Add formater for values

This commit is contained in:
norbert-walter
2022-02-20 19:21:15 +01:00
parent 0b17b96900
commit f30bd27ad6
4 changed files with 228 additions and 50 deletions

View File

@@ -59,3 +59,13 @@ class PageDescription{
this->header=header;
}
};
// Structure for formated boat values
typedef struct{
String svalue;
String unit;
} FormatedData;
// Formater for boat values
FormatedData formatValue(GwApi::BoatValue *value);