diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-01-16 13:49:12 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 08:18:08 +1300 |
commit | 881803441e3c0a24004a25e84197280c4722b679 (patch) | |
tree | a285649894f5a4dc390aea1caed92b9f7fa9d573 /dive.h | |
parent | f2939dd991f5f9cd40501d419e7a816492857311 (diff) | |
download | subsurface-881803441e3c0a24004a25e84197280c4722b679.tar.gz |
Save predefined SAC
When planning a dive, the gas consumption is based on a user configured SAC.
Thus we should use that SAC and not try to recompute it from samples.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -191,6 +191,7 @@ struct sample // BASE TYPE BYTES UNITS RANGE DE uint8_t sensor; // uint8_t 1 sensorID (0-255) ID of cylinder pressure sensor uint8_t cns; // uint8_t 1 % (0-255 %) cns% accumulated uint8_t heartbeat; // uint8_t 1 beats/m (0-255) heart rate measurement + volume_t sac; // 4 ml/min predefined SAC bool in_deco; // bool 1 y/n y/n this sample is part of deco bool manually_entered; // bool 1 y/n y/n this sample was entered by the user, // not calculated when planning a dive |