diff Common/Inc/data_central.h @ 788:4abfb8a2a435

Define explicit setpoints for low / high / deco. Add an option to delay the switch to SPlow until all decompression has been cleared. (mikeller)
author heinrichsweikamp
date Tue, 04 Jul 2023 14:39:06 +0200
parents e40790a67165
children 75ace7af8212
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Sun Jun 04 21:59:26 2023 +0200
+++ b/Common/Inc/data_central.h	Tue Jul 04 14:39:06 2023 +0200
@@ -214,6 +214,8 @@
 
 	uint8_t lastDiluent_GasIdInSettings;
     float lastSetpointChangeDepthM;
+    bool setpointDecoActivated;
+    bool setpointLowDelayed;
 
 	/* calculated by DataEX_copy_to_LifeData()
 			bottle_bar array size is made like this to have multiples of 32bit
@@ -506,4 +508,6 @@
 
 bool isCompassCalibrated(void);
 void setCompassHeading(uint16_t heading);
+
+const SDecoinfo *getDecoInfo(void);
 #endif // DATA_CENTRAL_H