diff Discovery/Inc/tMenuEdit.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 830de438e0b0
children 45b8f3c2acce
line wrap: on
line diff
--- a/Discovery/Inc/tMenuEdit.h	Sun Nov 20 20:46:10 2022 +0100
+++ b/Discovery/Inc/tMenuEdit.h	Sun Nov 20 20:49:41 2022 +0100
@@ -32,22 +32,23 @@
 #include "tMenu.h"
 
 #define ME_Y_LINE1					(70)
-#define ME_Y_LINE_STEP			(65)
-#define ME_Y_LINE_BASE			(ME_Y_LINE1 - ME_Y_LINE_STEP)
+#define ME_Y_LINE_STEP				(65)
+#define ME_Y_LINE_BASE				(ME_Y_LINE1 - ME_Y_LINE_STEP)
 #define ME_Y_LINE2					(ME_Y_LINE1 + (1 * ME_Y_LINE_STEP))
 #define ME_Y_LINE3					(ME_Y_LINE1 + (2 * ME_Y_LINE_STEP))
 #define ME_Y_LINE4					(ME_Y_LINE1 + (3 * ME_Y_LINE_STEP))
 #define ME_Y_LINE5					(ME_Y_LINE1 + (4 * ME_Y_LINE_STEP))
 #define ME_Y_LINE6					(ME_Y_LINE1 + (5 * ME_Y_LINE_STEP))
 
+#define EXIT_TO_INFO_SENSOR 		(247)
 #define EXIT_TO_INFO_COMPASS 		(248)
-#define EXIT_TO_MENU_WITH_LOGO	(249)
-#define EXIT_TO_HOME 						(250)
-#define EXIT_TO_MENU 						(251)
+#define EXIT_TO_MENU_WITH_LOGO		(249)
+#define EXIT_TO_HOME 				(250)
+#define EXIT_TO_MENU 				(251)
 #define UPDATE_DIVESETTINGS 		(252)
-#define UPDATE_AND_EXIT_TO_HOME (253)
-#define UPDATE_AND_EXIT_TO_MENU (255)
-#define UNSPECIFIC_RETURN				(254)
+#define UPDATE_AND_EXIT_TO_HOME 	(253)
+#define UPDATE_AND_EXIT_TO_MENU 	(255)
+#define UNSPECIFIC_RETURN			(254)
 
 void sendActionToMenuEdit(uint8_t sendAction);