summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-18 22:40:34 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-18 22:40:34 -0500
commit56535e4b3b9c2324f42674f385ee7bda2b9028eb (patch)
tree2ace8638b6649e028a39e40531355ee159e1f348 /dive.h
parent4141c68450bfceab8464aa1297d68a8258538ddd (diff)
downloadsubsurface-56535e4b3b9c2324f42674f385ee7bda2b9028eb.tar.gz
Only calculate deco stops in planner mode
In add dive mode simply bring the diver safely back to the surface (currently with a fixed ascent rate of 30ft/min (or 9m/min)). We should make that rate configurable (for the planner as well as the dive add function). Also, the dive add function should offer to automatically include a safety stop. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 53b2d0a98..ed0dd52fe 100644
--- a/dive.h
+++ b/dive.h
@@ -719,7 +719,7 @@ void free_dps(struct divedatapoint *dp);
void get_gas_string(int o2, int he, char *buf, int len);
struct divedatapoint *create_dp(int time_incr, int depth, int o2, int he, int po2);
void dump_plan(struct diveplan *diveplan);
-void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, char **error_string_p);
+void plan(struct diveplan *diveplan, char **cached_datap, struct dive **divep, bool add_deco, char **error_string_p);
void delete_single_dive(int idx);
struct event *get_next_event(struct event *event, char *name);