diff Discovery/Inc/tStructure.h @ 740:5078da3845c0

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:38 +0100
parents 190e5814b2f5
children 2c243233c999
line wrap: on
line diff
--- a/Discovery/Inc/tStructure.h	Thu Feb 02 17:26:54 2023 +0100
+++ b/Discovery/Inc/tStructure.h	Thu Feb 02 17:35:38 2023 +0100
@@ -284,6 +284,7 @@
 #define StMHARD5_ButtonBalance1	_MB(2,7,5,2,0)
 #define StMHARD5_ButtonBalance2	_MB(2,7,5,3,0)
 #define StMHARD5_ButtonBalance3	_MB(2,7,5,4,0)
+#define StMHARD5_ButtonLock		_MB(2,7,5,5,0)
 
 //#define StMHARD6_UpdateCPU2_No	_MB(2,7,6,1,0)
 //#define StMHARD6_UpdateCPU2_Yes	_MB(2,7,6,2,0)