diff Discovery/Src/tMenuEdit.c @ 552:531e7818b737

Added menu structure to acces viewport calibration: A menu item in surface and dive mode has been added to calibrate the view point between diver and OSTC display. For a proper calibration the diver needs to face north (0? ) => Detailed instruction / guidance to be added.
author Ideenmodellierer
date Sun, 08 Nov 2020 18:46:46 +0100
parents 1721b26335f1
children ec76fa85009e
line wrap: on
line diff
--- a/Discovery/Src/tMenuEdit.c	Sun Nov 08 18:43:19 2020 +0100
+++ b/Discovery/Src/tMenuEdit.c	Sun Nov 08 18:46:46 2020 +0100
@@ -230,6 +230,10 @@
 	 	 case StMCustom3_CViewSelection5:
 	 	 case StMCustom3_CViewSelection6: refreshFct = CustomviewDivemode_refresh;
 	 	 	 break;
+	 	 case (StMCustom6_CViewPortCalib& MaskFieldDigit):
+	 	 case StMCustom6_CViewPortLayout:
+	 	 case StMCustom6_CViewPortAmbient: refreshFct = refresh_ViewPort;
+	 		 break;
 	 	 default:	 /* no menu has been updated */
 	 		 break;
 	 }
@@ -1928,3 +1932,10 @@
             draw_tMEdesignSubSelected(&pDestination);
     }
 }
+
+GFX_DrawCfgScreen* getMenuEditScreen()
+{
+	return &tMEscreen;
+}
+
+