Mercurial > public > ostc4
comparison Discovery/Inc/tMenuEditSetpoint.h @ 775:46c6d2380d4e
Add a shortcuts to change the setpoint to the loop to the 'normal' display when diving. It is only shown when diving in CCR mode and on the loop.
Uses the configured setpoint with the highest / lowest switch depth as the high / low setpoints respectively. (mikeller)
author | heinrichsweikamp |
---|---|
date | Thu, 11 May 2023 12:13:03 +0200 |
parents | 2c243233c999 |
children | 4abfb8a2a435 |
comparison
equal
deleted
inserted
replaced
774:6169309d6eb9 | 775:46c6d2380d4e |
---|---|
28 #ifndef TMENU_EDIT_SETPOINT_H | 28 #ifndef TMENU_EDIT_SETPOINT_H |
29 #define TMENU_EDIT_SETPOINT_H | 29 #define TMENU_EDIT_SETPOINT_H |
30 | 30 |
31 /* Includes ------------------------------------------------------------------*/ | 31 /* Includes ------------------------------------------------------------------*/ |
32 #include <stdint.h> | 32 #include <stdint.h> |
33 #include <stdbool.h> | |
33 | 34 |
34 void openEdit_Setpoint(uint8_t line); | 35 void openEdit_Setpoint(uint8_t line); |
35 void openEdit_DiveSelectBetterSetpoint(bool useLastDiluent); | 36 void openEdit_DiveSelectBetterSetpoint(bool useLastDiluent); |
36 | 37 |
37 void checkSwitchToLoop(void); | 38 void checkSwitchToLoop(void); |
39 bool findSwitchToSetpoint(void); | |
40 uint8_t getSwitchToSetpointCbar(void); | |
41 void checkSwitchSetpoint(void); | |
38 #endif /* TMENU_EDIT_SETPOINT_H */ | 42 #endif /* TMENU_EDIT_SETPOINT_H */ |