diff Discovery/Src/tMenuEditXtra.c @ 906:49ee233c7a74 Evo_2_23

Bugfix de-/activation of deco stop consideration in simulator: A missing compile switch caused the option to follow deco stops or not to be activated all the time. The misssing compile switch has been added to make sure that the active menu line is mapped to the correct option
author ideenmodellierer
date Sun, 13 Oct 2024 18:07:23 +0200
parents 7755a476f164
children
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditXtra.c	Sun Oct 13 17:38:16 2024 +0200
+++ b/Discovery/Src/tMenuEditXtra.c	Sun Oct 13 18:07:23 2024 +0200
@@ -91,10 +91,14 @@
 			case 3:
 				openEdit_SetManualMarker();
 				break;
+#ifdef ENABLE_MOTION_CONTROL
 			case 4:
 				openEdit_CalibViewport();
 				break;
 			case 5:
+#else
+			case 4:
+#endif
 				if(is_stateUsedSetToSim())
 				{
 					 openEdit_SimFollowDecostops();