aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/deco.c
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-12 13:49:25 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-12 13:49:25 +0200
commit378ee4dbffb8c99ffe8a74bcce70e96851a3624a (patch)
treedb3644ea77e2c1f3b884a772f5e4881f3067db85 /src/deco.c
parent91ecb15b1b6d7cb1e3cc88d32ae162afb4850fb4 (diff)
downloadopendeco-378ee4dbffb8c99ffe8a74bcce70e96851a3624a.tar.gz
Define global defaults explicitly in header
Diffstat (limited to 'src/deco.c')
-rw-r--r--src/deco.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/deco.c b/src/deco.c
index 9719f06..a03ed34 100644
--- a/src/deco.c
+++ b/src/deco.c
@@ -8,12 +8,12 @@
#define RND(x) (round((x) *10000) / 10000)
-enum ALGO ALGO_VER = ZHL_16C;
-double SURFACE_PRESSURE = 1.01325;
-double P_WV = P_WV_BUHL;
+enum ALGO ALGO_VER = ALGO_VER_DEFAULT;
+double SURFACE_PRESSURE = SURFACE_PRESSURE_DEFAULT;
+double P_WV = P_WV_DEFAULT;
-double PO2_MAX = 1.6;
-double END_MAX = 4.01325;
+double PO2_MAX = PO2_MAX_DEFAULT;
+double END_MAX = END_MAX_DEFAULT;
typedef struct zhl_n2_t {
double t;