summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/planner.c b/planner.c
index 676afd45c..71273b3a1 100644
--- a/planner.c
+++ b/planner.c
@@ -47,6 +47,14 @@ void dump_plan(struct diveplan *diveplan)
}
#endif
+void set_last_stop(gboolean last_stop_6m)
+{
+ if (last_stop_6m == TRUE)
+ decostoplevels[1] = 6000;
+ else
+ decostoplevels[1] = 3000;
+}
+
void get_gas_from_events(struct divecomputer *dc, int time, int *o2, int *he)
{
struct event *event = dc->events;