summaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-05-02 20:35:21 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-03 11:43:50 -0700
commit935af9e8af58a58e3ae61731d1de452d67e82a49 (patch)
treefa76233755784634e740924295bf1ca8f5cbad55 /planner.h
parent587856d786c78dee13074e9774cb37cca2694a47 (diff)
downloadsubsurface-935af9e8af58a58e3ae61731d1de452d67e82a49.tar.gz
planning: Add option to have last stop at 6m/20ft
When diving in areas where there are risk of boats passing above you, its common practise to do the last stop at 6m to better stay out of harms way. When doing o2-deco, it doesn't matter for the deco time if you are doing all the time at 6m, due to that you don't have any inert gas in your breathing gas. This code is a reintroduction of 0b8462bd lost somehow between a70a8898..8fae0031 Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'planner.h')
-rw-r--r--planner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/planner.h b/planner.h
index 099f640fc..4de3c4669 100644
--- a/planner.h
+++ b/planner.h
@@ -11,6 +11,7 @@ extern timestamp_t current_time_notz(void);
extern void show_planned_dive(char **error_string_p);
extern int add_duration_to_nth_dp(struct diveplan *diveplan, int idx, int duration, gboolean is_rel);
extern void add_po2_to_nth_dp(struct diveplan *diveplan, int idx, int po2);
+extern void set_last_stop(gboolean last_stop_6m);
extern struct diveplan diveplan;
extern struct dive *planned_dive;