Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericStateMachineGenerator.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericStateMachineGenerator.xtend2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericStateMachineGenerator.xtend b/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericStateMachineGenerator.xtend
index 94d6f1c0d..3bf8b31cb 100644
--- a/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericStateMachineGenerator.xtend
+++ b/plugins/org.eclipse.etrice.generator/src/org/eclipse/etrice/generator/generic/GenericStateMachineGenerator.xtend
@@ -94,7 +94,6 @@ class GenericStateMachineGenerator {
var dct = new DetailCodeTranslator(ac, translator)
var async = ac.commType==ActorCommunicationType::ASYNCHRONOUS
var eventDriven = ac.commType==ActorCommunicationType::EVENT_DRIVEN
- var dataDriven = ac.commType==ActorCommunicationType::DATA_DRIVEN
var handleEvents = async || eventDriven
'''
@@ -269,7 +268,6 @@ class GenericStateMachineGenerator {
var async = xpac.actorClass.commType==ActorCommunicationType::ASYNCHRONOUS
var eventDriven = xpac.actorClass.commType==ActorCommunicationType::EVENT_DRIVEN
var dataDriven = xpac.actorClass.commType==ActorCommunicationType::DATA_DRIVEN
- var handleEvents = async || eventDriven
'''
switch («langExt.memberAccess»state) {
«FOR state : xpac.stateMachine.getLeafStateList()»

Back to the top