diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/pref.h | 1 | ||||
-rw-r--r-- | core/units.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/pref.h b/core/pref.h index 6949b762c..cfad1abfe 100644 --- a/core/pref.h +++ b/core/pref.h @@ -59,6 +59,7 @@ typedef struct { const char *device_name; } dive_computer_prefs_t; +// NOTE: these enums are duplicated in mobile-widgets/qmlinterface.h enum unit_system_values { METRIC, IMPERIAL, diff --git a/core/units.h b/core/units.h index ff34991f7..8839dde1d 100644 --- a/core/units.h +++ b/core/units.h @@ -275,6 +275,7 @@ static inline int32_t pressure_to_altitude(int32_t pressure) // pressure in mbar * keeps track of those units. */ /* turns out in Win32 PASCAL is defined as a calling convention */ +/* NOTE: these enums are duplicated in mobile-widgets/qmlinterface.h */ struct units { enum LENGTH { METERS, |