Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
717:88f73b05d45c | 718:b9f699d2e3d0 |
---|---|
56 #define PageDebug 0 | 56 #define PageDebug 0 |
57 #define PageSurface 1 | 57 #define PageSurface 1 |
58 #define PageDive 2 | 58 #define PageDive 2 |
59 | 59 |
60 #define MaskLineFieldDigit _MB(7,15,0,0,0) | 60 #define MaskLineFieldDigit _MB(7,15,0,0,0) |
61 #define MaskFieldDigit _MB(7,15,255,0,0) | 61 #define MaskFieldDigit _MB(7,15,255,0,0) |
62 #define MaskAllButLine _MB(0,0,255,0,0) | 62 #define MaskAllButLine _MB(0,0,255,0,0) |
63 #define MaskLineDigit _MB(7,15,0,255,0) | 63 #define MaskLineDigit _MB(7,15,0,255,0) |
64 #define InfoPageLogList 2 | 64 #define InfoPageLogList 2 |
65 #define InfoPageLogShow 3 | 65 #define InfoPageLogShow 3 |
66 #define InfoPageCompass 6 | 66 #define InfoPageCompass 6 |
67 | 67 #define InfoPageSensor 8 |
68 #define StI _MB(0,1,0,0,0) | 68 |
69 #define StILOGLIST _MB(0,2,0,0,0) | 69 #define StI _MB(0,1,0,0,0) |
70 #define StILOGSHOW _MB(0,3,0,0,0) | 70 #define StILOGLIST _MB(0,2,0,0,0) |
71 #define StILOGSHOW _MB(0,3,0,0,0) | |
71 #define StIDIVE _MB(0,4,0,0,0) | 72 #define StIDIVE _MB(0,4,0,0,0) |
72 #define StISIM _MB(0,5,0,0,0) | 73 #define StISIM _MB(0,5,0,0,0) |
73 #define StICOMPASS _MB(0,6,0,0,0) | 74 #define StICOMPASS _MB(0,6,0,0,0) |
74 #define StIDEBUG _MB(0,7,0,0,0) | 75 #define StIDEBUG _MB(0,7,0,0,0) |
76 #define StISENINFO _MB(0,8,0,0,0) | |
75 | 77 |
76 #define StI_GoToLogbook _MB(0,1,1,0,0) | 78 #define StI_GoToLogbook _MB(0,1,1,0,0) |
77 #define StI_GoToPlanner _MB(0,1,2,0,0) | 79 #define StI_GoToPlanner _MB(0,1,2,0,0) |
78 #define StI_StartSimulator _MB(0,1,3,0,0) | 80 #define StI_StartSimulator _MB(0,1,3,0,0) |
79 | 81 |
262 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) | 264 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) |
263 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0) | 265 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0) |
264 | 266 |
265 //#define StMHARD2_Exit _MB(2,7,2,2,0) | 267 //#define StMHARD2_Exit _MB(2,7,2,2,0) |
266 | 268 |
269 #define StMHARD3_Sensors _MB(2,7,3,0,0) | |
267 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) | 270 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) |
268 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0) | 271 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0) |
269 #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0) | 272 #define StMHARD3_O2_Sensor3 _MB(2,7,3,3,0) |
270 #define StMHARD3_O2_Calibrate _MB(2,7,3,4,0) | 273 #define StMHARD3_O2_Calibrate _MB(2,7,3,4,0) |
271 #define StMHARD3_O2_Source _MB(2,7,3,5,0) | 274 #define StMHARD3_O2_Source _MB(2,7,3,5,0) |
275 #define StMHARD3_Sensor_Info _MB(2,7,3,6,0) | |
276 | |
272 | 277 |
273 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0) | 278 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0) |
274 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0) | 279 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0) |
275 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0) | 280 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0) |
276 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0) | 281 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0) |