Commit 18005f39 authored by Michael Büsch's avatar Michael Büsch

Fix FC calling

Signed-off-by: Michael Büsch's avatarMichael Buesch <[email protected]>
parent 0c825721
......@@ -113,6 +113,9 @@ class CallStackElem(object):
# the FC interface r-value.
self.interfRefs = {}
for param in parameters:
#TODO param interface assignment should
# be done at translation time.
param.interface = blockInterface
translator = self.__paramTrans[param.rvalueOp.type]
except KeyError as e:
......@@ -66,9 +66,6 @@ class AwlParamAssign(DynAttrs):
return field.fieldType == BlockInterfaceField.FTYPE_OUT or\
field.fieldType == BlockInterfaceField.FTYPE_INOUT
def __getLvalueStructField_static(self, instanceDB):
return self.__LvaluestructField
def __lValueStructField(self):
# Find the l-value struct field
return self.instanceDB.structInstance.struct.getField(self.lvalueName)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment