Mercurial > public > ostc4
diff Discovery/Inc/tStructure.h @ 718:b9f699d2e3d0
Updated menu structure to support new sensor information page:
The sensor information page has been added to the sensor submenu of the hardware menu. It will be shown dynamically in case a smart sensor is detected. In order to have this dynamic visualization some new functions had to be added to the general menu file. The information page returns to the sensor menu, for this behavior also a new function had to be added.
author | Ideenmodellierer |
---|---|
date | Sun, 20 Nov 2022 20:49:41 +0100 |
parents | 8adf9b8fc7fa |
children | 9c65d226f4f6 |
line wrap: on
line diff
--- a/Discovery/Inc/tStructure.h Sun Nov 20 20:46:10 2022 +0100 +++ b/Discovery/Inc/tStructure.h Sun Nov 20 20:49:41 2022 +0100 @@ -58,20 +58,22 @@ #define PageDive 2 #define MaskLineFieldDigit _MB(7,15,0,0,0) -#define MaskFieldDigit _MB(7,15,255,0,0) -#define MaskAllButLine _MB(0,0,255,0,0) -#define MaskLineDigit _MB(7,15,0,255,0) +#define MaskFieldDigit _MB(7,15,255,0,0) +#define MaskAllButLine _MB(0,0,255,0,0) +#define MaskLineDigit _MB(7,15,0,255,0) #define InfoPageLogList 2 #define InfoPageLogShow 3 #define InfoPageCompass 6 +#define InfoPageSensor 8 -#define StI _MB(0,1,0,0,0) -#define StILOGLIST _MB(0,2,0,0,0) -#define StILOGSHOW _MB(0,3,0,0,0) +#define StI _MB(0,1,0,0,0) +#define StILOGLIST _MB(0,2,0,0,0) +#define StILOGSHOW _MB(0,3,0,0,0) #define StIDIVE _MB(0,4,0,0,0) #define StISIM _MB(0,5,0,0,0) -#define StICOMPASS _MB(0,6,0,0,0) +#define StICOMPASS _MB(0,6,0,0,0) #define StIDEBUG _MB(0,7,0,0,0) +#define StISENINFO _MB(0,8,0,0,0) #define StI_GoToLogbook _MB(0,1,1,0,0) #define StI_GoToPlanner _MB(0,1,2,0,0) @@ -264,11 +266,14 @@ //#define StMHARD2_Exit _MB(2,7,2,2,0) +#define StMHARD3_Sensors _MB(2,7,3,0,0) #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0) #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0) #define StMHARD3_O2_Calibrate _MB(2,7,3,4,0) #define StMHARD3_O2_Source _MB(2,7,3,5,0) +#define StMHARD3_Sensor_Info _MB(2,7,3,6,0) + #define StMHARD4_BrightnessEco _MB(2,7,4,1,0) #define StMHARD4_BrightnessStd _MB(2,7,4,2,0)