diff Discovery/Src/tMenuEditXtra.c @ 295:718e5feded62

Merged in janlmulder/ostc4/div-fixes-6 (pull request #23) Cleanup VPM, NDL to 240 min, and more cleanup
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Mon, 13 May 2019 13:37:34 +0000
parents ba229a012ac7
children 77de014928d6
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditXtra.c	Mon May 06 15:45:19 2019 +0200
+++ b/Discovery/Src/tMenuEditXtra.c	Mon May 13 13:37:34 2019 +0000
@@ -77,11 +77,7 @@
 
 void openEdit_SetManualMarker(void)
 {
-    if(stateUsed == stateRealGetPointer())
-        stateRealGetPointerWrite()->events.manualMarker = 1;
-    else
-        stateSimGetPointerWrite()->events.manualMarker = 1;
-
+    stateUsedWrite->events.manualMarker = 1;
     exitMenuEdit_to_Home();
 }