Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
770:8deb28b2d4da | 771:29d9b5bc7946 |
---|---|
208 /* by create DiveSettings() and by setActualGas() | 208 /* by create DiveSettings() and by setActualGas() |
209 * is send to Small CPU2 for nitrogen calculation | 209 * is send to Small CPU2 for nitrogen calculation |
210 * includes setpoint information | 210 * includes setpoint information |
211 */ | 211 */ |
212 SGas actualGas; | 212 SGas actualGas; |
213 | |
213 uint8_t lastDiluent_GasIdInSettings; | 214 uint8_t lastDiluent_GasIdInSettings; |
214 uint8_t gas_temp2; | 215 float lastSetpointChangeDepthM; |
215 | 216 |
216 /* calculated by DataEX_copy_to_LifeData() | 217 /* calculated by DataEX_copy_to_LifeData() |
217 bottle_bar array size is made like this to have multiples of 32bit | 218 bottle_bar array size is made like this to have multiples of 32bit |
218 */ | 219 */ |
219 float ppO2; | 220 float ppO2; |