summaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-07-02 22:07:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-03 16:33:19 -0700
commit5db706d291e8916cd9ba63a3b26b24d4471c608d (patch)
treeb71313f4e9023091fd5de61e8a78017a91902525 /subsurfacestartup.c
parent611bae344111845bfa8bd676c0fad49d1c051c10 (diff)
downloadsubsurface-5db706d291e8916cd9ba63a3b26b24d4471c608d.tar.gz
Planner: Add backgas breaks
If the corresponding checkbox is checked the planner does interrupt pure O2 deco after 12min for 6min on cylinder 0. To make this work for air I removed the gasmix_is_null logic. I guess that makes the planner feature complete for the next release. [Dirk Hohndel: trivial merge into latest master] Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r--subsurfacestartup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 8d8d848f2..a451c2ba3 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -39,7 +39,8 @@ struct preferences default_prefs = {
.ascratelast6m = 1000 / 60,
.descrate = 18000 / 60,
.bottompo2 = 1400,
- .decopo2 = 1600
+ .decopo2 = 1600,
+ .doo2breaks = false
};
int run_survey;