diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2017-11-03 07:32:28 +1100 |
---|---|---|
committer | Robert C. Helling <helling@atdotde.de> | 2017-11-08 15:22:32 +0100 |
commit | fe474ac266d952206f74b428e4d31e1f8531180d (patch) | |
tree | c721b95687a59cc8c701b18b78aecec486979382 /core/dive.h | |
parent | e365cac54ec5e9bd00e97d6d977684c9cd7474ef (diff) | |
download | subsurface-fe474ac266d952206f74b428e4d31e1f8531180d.tar.gz |
VPMB profile: use deco_time rather bottom_time from planner
This makes the calculations in profile.c a little simpler, especially now we
adopt consistent final ascent rate to determine deco_time since d15779a27
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h index 5a5edf145..ad0ad66bb 100644 --- a/core/dive.h +++ b/core/dive.h @@ -894,7 +894,7 @@ struct deco_state { pressure_t max_bottom_ceiling_pressure; int ci_pointing_to_guiding_tissue; double gf_low_pressure_this_dive; - int bottom_time; + int deco_time; }; extern void add_segment(double pressure, const struct gasmix *gasmix, int period_in_seconds, int setpoint, const struct dive *dive, int sac); |