From 45ed3b5dad7e00d1a91829b474f9338963a240e0 Mon Sep 17 00:00:00 2001 From: anyssen Date: Wed, 6 Jan 2016 09:41:37 +0100 Subject: [PATCH] #266: Replace hard-coded SCTstates with statesEnumType extension. --- .../yakindu/sct/generator/c/StatemachineRequiredHeader.xtend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/StatemachineRequiredHeader.xtend b/plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/StatemachineRequiredHeader.xtend index bfaafe9d1f..d459be2f4f 100644 --- a/plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/StatemachineRequiredHeader.xtend +++ b/plugins/org.yakindu.sct.generator.c/src/org/yakindu/sct/generator/c/StatemachineRequiredHeader.xtend @@ -102,12 +102,12 @@ class StatemachineRequiredHeader { */ «IF entry.tracingEnterState» /*! This function is called when a state is entered. */ - extern void stateEntered(const SCTStates state); + extern void stateEntered(const «statesEnumType» state); «ENDIF» «IF entry.tracingExitState» /*! This function is called when a state is exited. */ - extern void stateExited(const SCTStates state); + extern void stateExited(const «statesEnumType» state); «ENDIF» «ENDIF»