aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/schedule.h
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2023-07-10 14:50:28 +0200
committerGravatar Tim Segers <tsegers@pm.me>2023-08-21 20:54:01 +0200
commit9ec69f8501fa2b2be2d6bfb39300e841b96908c9 (patch)
tree703f461325c686569f3f1bc2c3a6378aa0f97fcb /src/schedule.h
parent53807bdddd7078b335862b8be49fe56d03a59417 (diff)
downloadopendeco-9ec69f8501fa2b2be2d6bfb39300e841b96908c9.tar.gz
Move LAST_STOP_AT_SIX variable from deco.c to schedule.c
Diffstat (limited to 'src/schedule.h')
-rw-r--r--src/schedule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/schedule.h b/src/schedule.h
index 7d7ac0f..3f9f78f 100644
--- a/src/schedule.h
+++ b/src/schedule.h
@@ -6,6 +6,7 @@
#include "deco.h"
#define SWITCH_INTERMEDIATE_DEFAULT 1
+#define LAST_STOP_AT_SIX_DEFAULT 0
/* types */
typedef struct waypoint_t {
@@ -37,6 +38,7 @@ typedef struct waypoint_callback_t {
/* global variables */
extern int SWITCH_INTERMEDIATE;
+extern int LAST_STOP_AT_SIX;
/* functions */
const gas_t *best_gas(double depth, const gas_t *gasses, int nof_gasses);