diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2018-02-21 18:52:36 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-02-24 11:45:17 -0800 |
commit | 862e121532f2b3bc001329c3965442ddaf144839 (patch) | |
tree | 53670c5bf4afb4f346f730b5b546e073f67f98ac /core | |
parent | ca4ccadcc4e2afd955e9ca22100765e9cc9be94b (diff) | |
download | subsurface-862e121532f2b3bc001329c3965442ddaf144839.tar.gz |
Correct comments for struct temperature_t value range
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/dive.h | 2 | ||||
-rw-r--r-- | core/units.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/dive.h b/core/dive.h index 13a0be52b..b6f9c835f 100644 --- a/core/dive.h +++ b/core/dive.h @@ -219,7 +219,7 @@ struct sample // BASE TYPE BYTES UNITS RANGE duration_t rbt; // int32_t 4 seconds (0-34 yrs) remaining bottom time depth_t depth; // int32_t 4 mm (0-2000 km) dive depth of this sample depth_t stopdepth; // int32_t 4 mm (0-2000 km) depth of next deco stop - temperature_t temperature; // int32_t 4 mdegrK (0-2 MdegK) ambient temperature + temperature_t temperature; // uint32_t 4 mdegrK (0-4 MdegK) ambient temperature pressure_t pressure[MAX_SENSORS]; // int32_t 4 mbar (0-2 Mbar) cylinder pressures (main and CCR o2) o2pressure_t setpoint; // uint16_t 2 mbar (0-65 bar) O2 partial pressure (will be setpoint) o2pressure_t o2sensor[3]; // uint16_t 6 mbar (0-65 bar) Up to 3 PO2 sensor values (rebreather) diff --git a/core/units.h b/core/units.h index e124826ce..8c616728a 100644 --- a/core/units.h +++ b/core/units.h @@ -105,7 +105,7 @@ typedef struct typedef struct { - uint32_t mkelvin; // up to 1750 degrees K (temperatures in K are always positive) + uint32_t mkelvin; // up to 4 MdegK (temperatures in K are always positive) } temperature_t; typedef struct |