comparison Common/Inc/settings.h @ 650:5f0d3dce5ef4

Automatik setpoint change: In previous versions a better set point was suggested by the OSTC but had to be confirmed using the quick menu functionality. To improve usability an option has been added to the setpoint menu which allows the selection of automatically setpoint changes. If activated the OSTC will automatically switch to the setpoint in case the matching depth is passed.
author Ideenmodellierer
date Mon, 19 Apr 2021 20:19:32 +0200
parents f735f1123526
children f6212495f34f
comparison
equal deleted inserted replaced
649:60162a939c06 650:5f0d3dce5ef4
68 68
69 #define PRESSURE_OFFSET_LIMIT_MBAR 50 69 #define PRESSURE_OFFSET_LIMIT_MBAR 50
70 70
71 #define MAX_COMPASS_COMP (2u) 71 #define MAX_COMPASS_COMP (2u)
72 #define MAX_VIEWPORT_MODE (0x7F) 72 #define MAX_VIEWPORT_MODE (0x7F)
73
74 #define MAX_SCRUBBER_TIME (500u)
73 75
74 typedef enum 76 typedef enum
75 { 77 {
76 O2_SENSOR_SOURCE_OPTIC = 0, 78 O2_SENSOR_SOURCE_OPTIC = 0,
77 O2_SENSOR_SOURCE_ANALOG, 79 O2_SENSOR_SOURCE_ANALOG,
243 uint16_t viewPitch; 245 uint16_t viewPitch;
244 uint16_t viewYaw; 246 uint16_t viewYaw;
245 /* new in 0xFFFF001E */ 247 /* new in 0xFFFF001E */
246 uint8_t ppo2sensors_source; 248 uint8_t ppo2sensors_source;
247 float ppo2sensors_calibCoeff[3]; 249 float ppo2sensors_calibCoeff[3];
248 /* new in something */
249 uint8_t amPMTime; 250 uint8_t amPMTime;
251 /* new in 0xFFFF001F */
252 uint8_t autoSetpoint;
253 uint16_t scrubTimerMax;
254 uint16_t scrubTimerCur;
250 } SSettings; 255 } SSettings;
251 256
252 typedef struct 257 typedef struct
253 { 258 {
254 // 8 bytes 259 // 8 bytes