aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/deco.h
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-12 16:04:51 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-12 16:05:56 +0200
commit879de8903e617d9e172a36045dc1b7b7ca4250c1 (patch)
tree82340b12e10ea7abb65d4c1eccf89b259f17a47a /src/deco.h
parent378ee4dbffb8c99ffe8a74bcce70e96851a3624a (diff)
downloadopendeco-879de8903e617d9e172a36045dc1b7b7ca4250c1.tar.gz
Add option to perform last deco stop at 6m instead of 3m
Diffstat (limited to 'src/deco.h')
-rw-r--r--src/deco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/deco.h b/src/deco.h
index 16072a1..11f6bc9 100644
--- a/src/deco.h
+++ b/src/deco.h
@@ -20,6 +20,8 @@
#define PO2_MAX_DEFAULT 1.6
#define END_MAX_DEFAULT 4.01325
+#define LAST_STOP_AT_SIX_DEFAULT 0
+
#define MOD_AUTO 0
/* types */
@@ -54,6 +56,8 @@ extern double P_WV;
extern double PO2_MAX;
extern double END_MAX;
+extern int LAST_STOP_AT_SIX;
+
/* functions */
double bar_to_msw(const double bar);
double msw_to_bar(const double msw);