aboutsummaryrefslogtreecommitdiffstats
path: root/subsurfacestartup.c
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:07:58 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:07:58 +0200
commit500fbe499411bfa96192626c8a6213916190aaae (patch)
tree2d10ae563e3f39173a622aa63054512175a7050b /subsurfacestartup.c
parent2435d79c0e6e4e30ace3b23765005c90181ddae5 (diff)
downloadsubsurface-500fbe499411bfa96192626c8a6213916190aaae.tar.gz
VPM-B: add deco choice to the ui.
Removed recreational mode from ui and pref and replaced it with new deco_mode enum. Added radio button ui selection. Set default deco_mode to Buehlmann algorithm. Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
Diffstat (limited to 'subsurfacestartup.c')
-rw-r--r--subsurfacestartup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurfacestartup.c b/subsurfacestartup.c
index 3005e7e04..17bd43e45 100644
--- a/subsurfacestartup.c
+++ b/subsurfacestartup.c
@@ -54,7 +54,6 @@ struct preferences default_prefs = {
.display_runtime = true,
.display_duration = true,
.display_transitions = true,
- .recreational_mode = false,
.safetystop = true,
.bottomsac = 20000,
.decosac = 17000,
@@ -75,7 +74,8 @@ struct preferences default_prefs = {
.parse_dive_without_gps = false,
.tag_existing_dives = false,
.category = { 0 }
- }
+ },
+ .deco_mode = BUEHLMANN
};
int run_survey;