diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-05-02 20:35:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-03 11:43:50 -0700 |
commit | 935af9e8af58a58e3ae61731d1de452d67e82a49 (patch) | |
tree | fa76233755784634e740924295bf1ca8f5cbad55 /planner.h | |
parent | 587856d786c78dee13074e9774cb37cca2694a47 (diff) | |
download | subsurface-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |