comparison Discovery/Src/tMenuEditXtra.c @ 288:ba229a012ac7 div-fixes-6

cleanup: no useless checks for simulator state and some more in the style of commit 74a8296a2318. And in addition more cleanup like removing commented and unused code, and making things static. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 29 Apr 2019 19:43:05 +0200
parents 74a8296a2318
children 77de014928d6
comparison
equal deleted inserted replaced
287:ba9d99a2e310 288:ba229a012ac7
75 exitMenuEdit_to_Home(); 75 exitMenuEdit_to_Home();
76 } 76 }
77 77
78 void openEdit_SetManualMarker(void) 78 void openEdit_SetManualMarker(void)
79 { 79 {
80 if(stateUsed == stateRealGetPointer()) 80 stateUsedWrite->events.manualMarker = 1;
81 stateRealGetPointerWrite()->events.manualMarker = 1;
82 else
83 stateSimGetPointerWrite()->events.manualMarker = 1;
84
85 exitMenuEdit_to_Home(); 81 exitMenuEdit_to_Home();
86 } 82 }
87 83
88 void openEdit_SimFollowDecostops(void) 84 void openEdit_SimFollowDecostops(void)
89 { 85 {