From 70ea0d58f937c4493bdcbacd59d4f7bf18792352 Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Tue, 11 Oct 2022 17:56:55 +0200 Subject: Make various constants configurable - SURFACE_PRESSURE* - SWITCH_INTERMEDIATE* - P_WV - PO2_MAX - END_MAX - ALGO_VER * can now also be set from the CLI --- src/schedule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/schedule.c') 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; -- cgit v1.2.3-70-g09d2