From fe474ac266d952206f74b428e4d31e1f8531180d Mon Sep 17 00:00:00 2001 From: Rick Walsh Date: Fri, 3 Nov 2017 07:32:28 +1100 Subject: 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 --- core/dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/dive.h') 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); -- cgit v1.2.3-70-g09d2