mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e365cac54e
commit
fe474ac266
3 changed files with 35 additions and 37 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue