فهرست منبع

serious Bugfix: timer unschedule command has been commented out accidentally

jos.itemis@gmail.com 13 سال پیش
والد
کامیت
91a9875a71

+ 1 - 2
plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/templates/CustomStatemachineC.xpt

@@ -47,9 +47,8 @@ Templates for the main statechart c file.
 «DEFINE ActionCode FOR UnscheduleTimeEvent»
 «IF this.comment != null»
 /* «this.comment» */
-	(*((StatemachineBase*)«statemachineHandleName()»)->timer->unsetTimer)(«this.timeEvent.getEventEnumName()»);
 «ENDIF»
-
+	(*((StatemachineBase*)«statemachineHandleName()»)->timer->unsetTimer)(«this.timeEvent.getEventEnumName()»);
 «ENDDEFINE»
 
 «DEFINE ActionCode FOR Execution»