diff 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
line wrap: on
line diff
--- a/Common/Inc/settings.h	Mon Apr 19 20:16:24 2021 +0200
+++ b/Common/Inc/settings.h	Mon Apr 19 20:19:32 2021 +0200
@@ -71,6 +71,8 @@
 #define MAX_COMPASS_COMP 		(2u)
 #define MAX_VIEWPORT_MODE 		(0x7F)
 
+#define MAX_SCRUBBER_TIME 		(500u)
+
 typedef enum
 {
 	O2_SENSOR_SOURCE_OPTIC = 0,
@@ -245,8 +247,11 @@
 	/* new in 0xFFFF001E */
 	uint8_t ppo2sensors_source;
 	float   ppo2sensors_calibCoeff[3];
-	/* new in something */
 	uint8_t amPMTime;
+	/* new in 0xFFFF001F */
+	uint8_t autoSetpoint;
+	uint16_t scrubTimerMax;
+	uint16_t scrubTimerCur;
 } SSettings;
 
 typedef struct