From 378ee4dbffb8c99ffe8a74bcce70e96851a3624a Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Wed, 12 Oct 2022 13:49:25 +0200 Subject: Define global defaults explicitly in header --- src/deco.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/deco.c') 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; -- cgit v1.2.3-70-g09d2