aboutsummaryrefslogtreecommitdiffstats
path: root/planner.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-08-05 12:58:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-05 06:58:35 -0700
commit63d98138b41fe373960b58ecb45c239392d43c57 (patch)
tree1d018b57272409320e59bb91e5790d79eaec6658 /planner.h
parentc477f56029096b207e5da811989aefb885dae799 (diff)
downloadsubsurface-63d98138b41fe373960b58ecb45c239392d43c57.tar.gz
Bail out of deco calculation after 48h or dive time
With very low values of GFhigh and setting the last stop depth to 6m it is possible to create dives that need infintie decompression time. This ends deco after 48h and replaces the dive plan with an error message. Signed-off-by: Robert C. Helling <helling@atdotde.de> 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 0d3c0ec27..a737f26c6 100644
--- a/planner.h
+++ b/planner.h
@@ -1,6 +1,7 @@
#ifndef PLANNER_H
#define PLANNER_H
+#define LONGDECO 1
#ifdef __cplusplus
extern "C" {