summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-01-16 13:49:12 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-17 08:18:08 +1300
commit881803441e3c0a24004a25e84197280c4722b679 (patch)
treea285649894f5a4dc390aea1caed92b9f7fa9d573 /dive.h
parentf2939dd991f5f9cd40501d419e7a816492857311 (diff)
downloadsubsurface-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 46b3d399b..327598b7c 100644
--- a/dive.h
+++ b/dive.h
@@ -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