1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-03-28 18:06:37 +01:00

Use placeholder from formatter for missing data text

This commit is contained in:
2025-08-22 14:13:35 +02:00
parent cba21574cb
commit 63ae42588f
13 changed files with 45 additions and 28 deletions

View File

@@ -70,7 +70,7 @@ XDR units
*/
// Possible formats as scoped enums
enum class fmtDate {DE, EN, GB, ISO};
enum class fmtDate {DE, GB, US, ISO};
enum class fmtTime {MMHH, MMHHSS};
enum class fmtLength {METER, FEET, FATHOM, CABLE};
enum class fmtDepth {METER, FEET, FATHOM};
@@ -116,6 +116,7 @@ private:
public:
Formatter(GwConfigHandler *config);
FormattedData formatValue(GwApi::BoatValue *value, CommonData &commondata);
String placeholder = "---";
};
// Standard format functions without overhead