diff Common/Inc/data_central.h @ 771:29d9b5bc7946

Revised automatic setpoint change. The proposed approach is essentially the approach used by most controllers of eCCR ('upshift' on descent, 'downshift' on ascent), so that the OSTC4 when used as a backup computer for eCCR will make the changes at the same time as the eCCR itself.
author heinrichsweikamp
date Fri, 21 Apr 2023 09:48:23 +0200
parents 4f19336a3f21
children 6169309d6eb9
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Fri Apr 21 09:47:44 2023 +0200
+++ b/Common/Inc/data_central.h	Fri Apr 21 09:48:23 2023 +0200
@@ -210,8 +210,9 @@
 	 * includes setpoint information
 	 */
 	SGas actualGas;
+
 	uint8_t lastDiluent_GasIdInSettings;
-	uint8_t gas_temp2;
+    float lastSetpointChangeDepthM;
 
 	/* calculated by DataEX_copy_to_LifeData()
 			bottle_bar array size is made like this to have multiples of 32bit