Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 787:aeb72882f30a | 788:4abfb8a2a435 |
|---|---|
| 212 */ | 212 */ |
| 213 SGas actualGas; | 213 SGas actualGas; |
| 214 | 214 |
| 215 uint8_t lastDiluent_GasIdInSettings; | 215 uint8_t lastDiluent_GasIdInSettings; |
| 216 float lastSetpointChangeDepthM; | 216 float lastSetpointChangeDepthM; |
| 217 bool setpointDecoActivated; | |
| 218 bool setpointLowDelayed; | |
| 217 | 219 |
| 218 /* calculated by DataEX_copy_to_LifeData() | 220 /* calculated by DataEX_copy_to_LifeData() |
| 219 bottle_bar array size is made like this to have multiples of 32bit | 221 bottle_bar array size is made like this to have multiples of 32bit |
| 220 */ | 222 */ |
| 221 float ppO2; | 223 float ppO2; |
| 504 | 506 |
| 505 uint8_t isLoopMode(uint8_t Mode); | 507 uint8_t isLoopMode(uint8_t Mode); |
| 506 | 508 |
| 507 bool isCompassCalibrated(void); | 509 bool isCompassCalibrated(void); |
| 508 void setCompassHeading(uint16_t heading); | 510 void setCompassHeading(uint16_t heading); |
| 511 | |
| 512 const SDecoinfo *getDecoInfo(void); | |
| 509 #endif // DATA_CENTRAL_H | 513 #endif // DATA_CENTRAL_H |
