aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/schedule.c
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-11 17:56:55 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-11 17:56:55 +0200
commit70ea0d58f937c4493bdcbacd59d4f7bf18792352 (patch)
treee1aa47ac7c9d62338e50e747d9e2dcee5f9444d0 /src/schedule.c
parent07cac4282bf721e75d70f1811f55152989a6a7c5 (diff)
downloadopendeco-70ea0d58f937c4493bdcbacd59d4f7bf18792352.tar.gz
Make various constants configurable
- SURFACE_PRESSURE* - SWITCH_INTERMEDIATE* - P_WV - PO2_MAX - END_MAX - ALGO_VER * can now also be set from the CLI
Diffstat (limited to 'src/schedule.c')
-rw-r--r--src/schedule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schedule.c b/src/schedule.c
index d13a9c9..d444d5e 100644
--- a/src/schedule.c
+++ b/src/schedule.c
@@ -5,11 +5,11 @@
#include "schedule.h"
-#define SWITCH_INTERMEDIATE 1
-
#define STOPLEN_ROUGH 10
#define STOPLEN_FINE 1
+int SWITCH_INTERMEDIATE = 1;
+
const gas_t *best_gas(const double depth, const gas_t *gasses, const int nof_gasses)
{
const gas_t *best = NULL;