diff Discovery/Src/tMenuEdit.c @ 520:970d8040c0e3

Moved custom view menu to new tab: In previous version old location of custom views was kept for easier development. After establishing new tab the old implementation has been removed from MenuSystem unit.
author Ideenmodellierer
date Tue, 08 Sep 2020 21:24:14 +0200
parents 21bf40bb8151
children e221cf762f45
line wrap: on
line diff
--- a/Discovery/Src/tMenuEdit.c	Sun Sep 06 22:11:51 2020 +0200
+++ b/Discovery/Src/tMenuEdit.c	Tue Sep 08 21:24:14 2020 +0200
@@ -211,7 +211,7 @@
 	 	 	 break;
 	 	 case (StMXTRA_CompassHeading & MaskFieldDigit):  refreshFct = refresh_CompassHeading;
 	 	 	 break;
-	 	 case (StMSYS5_Info & MaskFieldDigit): refreshFct = &refresh_InformationPage;
+	 	 case (StMSYS4_Info & MaskFieldDigit): refreshFct = &refresh_InformationPage;
 	 	 	 break;
 	 	 case (StMPLAN5_ExitResult & MaskFieldDigit): refreshFct = refresh_PlanResult;
 	 		 break;
@@ -220,8 +220,7 @@
 	 	 	 break;
 	 	 case (StMSYS3_Units & MaskFieldDigit): refreshFct = refresh_Design;
 	 	 	 break;
-	 	 case (StMCustom1_CViewTimeout & MaskFieldDigit):
-	 	 case (StMSYS4_CViewTimeout & MaskFieldDigit): refreshFct = refresh_Customviews;
+	 	 case (StMCustom1_CViewTimeout & MaskFieldDigit):refreshFct = refresh_Customviews;
 	 	 	 break;
 	 	 case (StMCustom2_CViewSelection1 & MaskFieldDigit) :
 	 	 case StMCustom2_CViewSelection2:
@@ -229,7 +228,7 @@
 	 	 case StMCustom2_CViewSelection4:
 	 	 case StMCustom2_CViewSelection5:
 	 	 case StMCustom2_CViewSelection6:
-	 	 case (StMCustom2_BFSelection & MaskFieldDigit) : refreshFct = CustomviewDivemode2_refresh;
+	 	 case (StMCustom2_BFSelection & MaskFieldDigit) : refreshFct = CustomviewDivemode_refresh;
 	 	 	 break;
 	 	 default:	 /* no menu has been updated */
 	 		 break;