summaryrefslogtreecommitdiffstats
path: root/subsurface-core/units.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/units.h')
-rw-r--r--subsurface-core/units.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/subsurface-core/units.h b/subsurface-core/units.h
index 9d1b0fc8c..9ad4b7282 100644
--- a/subsurface-core/units.h
+++ b/subsurface-core/units.h
@@ -228,29 +228,29 @@ static inline int mbar_to_PSI(int mbar)
#undef PASCAL
#endif
struct units {
- enum {
+ enum LENGHT {
METERS,
FEET
} length;
- enum {
+ enum VOLUME {
LITER,
CUFT
} volume;
- enum {
+ enum PRESSURE {
BAR,
PSI,
PASCAL
} pressure;
- enum {
+ enum TEMPERATURE {
CELSIUS,
FAHRENHEIT,
KELVIN
} temperature;
- enum {
+ enum WEIGHT {
KG,
LBS
} weight;
- enum {
+ enum TIME {
SECONDS,
MINUTES
} vertical_speed_time;