Added a configuration option to have gf_low apply at max depth instead of at deepest ceiling.

Signed-off-by: Patrick Valsecchi <patrick@thus.ch>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Patrick Valsecchi 2013-11-20 16:11:22 +01:00 committed by Dirk Hohndel
parent 4c4a7a6d96
commit fe2eabf375
9 changed files with 34 additions and 21 deletions

2
dive.h
View file

@ -715,7 +715,7 @@ extern double add_segment(double pressure, const struct gasmix *gasmix, int peri
extern void clear_deco(double surface_pressure);
extern void dump_tissues(void);
extern unsigned int deco_allowed_depth(double tissues_tolerance, double surface_pressure, struct dive *dive, bool smooth);
extern void set_gf(short gflow, short gfhigh);
extern void set_gf(short gflow, short gfhigh, bool gf_low_at_maxdepth);
extern void cache_deco_state(double, char **datap);
extern double restore_deco_state(char *data);