comparison Common/Inc/settings.h @ 741:6a35e2e97bfb

Added button lock after wakeup in surface mode: During setup of diveequipment the OSTC4 is sometimes operated unintended (e.g. while equipping the jaket). To avoid this it is now possible to activate a button lock in the button lock sensitivity menu. The OSTC4 will then wakeup as usuall but if the diver wants to oerate the menus he has to press the buttons in a certain order. The button to be pressed is indicated by a blue bar. The button lock is deactivated in dive mode.
author Ideenmodellierer
date Thu, 02 Feb 2023 17:35:54 +0100
parents 5143e927219f
children b6d8a6fbf4fd
comparison
equal deleted inserted replaced
740:5078da3845c0 741:6a35e2e97bfb
83 #define PSCR_MIN_LUNG_RATIO (5u) 83 #define PSCR_MIN_LUNG_RATIO (5u)
84 #define PSCR_MAX_LUNG_RATIO (20u) 84 #define PSCR_MAX_LUNG_RATIO (20u)
85 85
86 #define UART_MAX_PROTOCOL (2u) 86 #define UART_MAX_PROTOCOL (2u)
87 87
88 #define FUTURE_SPARE_SIZE (5u) /* Applied for reuse of old, not used, scooter block (was 32 bytes)*/ 88 #define FUTURE_SPARE_SIZE (4u) /* Applied for reuse of old, not used, scooter block (was 32 bytes)*/
89 89
90 typedef enum 90 typedef enum
91 { 91 {
92 O2_SENSOR_SOURCE_OPTIC = 0, 92 O2_SENSOR_SOURCE_OPTIC = 0,
93 O2_SENSOR_SOURCE_ANALOG, 93 O2_SENSOR_SOURCE_ANALOG,
233 uint8_t ext_uart_protocol; /* redefined in 0xFFFF0022 */ 233 uint8_t ext_uart_protocol; /* redefined in 0xFFFF0022 */
234 234
235 uint8_t scubberActiveId; /* redefined in 0xFFFF0023 */ 235 uint8_t scubberActiveId; /* redefined in 0xFFFF0023 */
236 SScrubberData scrubberData[2]; 236 SScrubberData scrubberData[2];
237 uint8_t ext_sensor_map[5]; 237 uint8_t ext_sensor_map[5];
238 uint8_t buttonLockActive; /* redefined in 0xFFFF0025 */
238 uint8_t Future_SPARE[FUTURE_SPARE_SIZE]; /* redefined in 0xFFFF0020 (old scooter Block was 32 byte)*/ 239 uint8_t Future_SPARE[FUTURE_SPARE_SIZE]; /* redefined in 0xFFFF0020 (old scooter Block was 32 byte)*/
239 // new in 0xFFFF0006 240 // new in 0xFFFF0006
240 uint8_t ppo2sensors_deactivated; 241 uint8_t ppo2sensors_deactivated;
241 uint8_t tX_colorscheme; 242 uint8_t tX_colorscheme;
242 uint8_t tX_userselectedLeftLowerCornerPrimary; 243 uint8_t tX_userselectedLeftLowerCornerPrimary;