svghmi/svghmi.py
branchsvghmi
changeset 2866 59a855c17aa6
parent 2834 6ac6a9dff594
child 2890 ae8063127e95
--- a/svghmi/svghmi.py	Thu Mar 12 09:33:20 2020 +0100
+++ b/svghmi/svghmi.py	Thu Mar 12 13:14:38 2020 +0100
@@ -220,7 +220,7 @@
                 extern_variables_declarations += [
                     "#define heartbeat_index "+str(hmi_tree_hearbeat_index)
                 ]
-            if hasattr(node, "iectype") and node.nodetype != "HMI_NODE":
+            if hasattr(node, "iectype"):
                 sz = DebugTypesSize.get(node.iectype, 0)
                 variable_decl_array += [
                     "{&(" + node.cpath + "), " + node.iectype + {