mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f2939dd991
commit
881803441e
3 changed files with 13 additions and 4 deletions
1
dive.h
1
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue