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>
This commit is contained in:
Robert C. Helling 2014-07-02 22:07:38 +02:00 committed by Dirk Hohndel
parent 611bae3441
commit 5db706d291
5 changed files with 39 additions and 1 deletions

View file

@ -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;