svghmi/svghmi.py
branchsvghmi
changeset 2866 59a855c17aa6
parent 2834 6ac6a9dff594
child 2890 ae8063127e95
equal deleted inserted replaced
2865:545902730141 2866:59a855c17aa6
   218                 hmi_tree_hearbeat_index = item_count
   218                 hmi_tree_hearbeat_index = item_count
   219                 found_heartbeat = True
   219                 found_heartbeat = True
   220                 extern_variables_declarations += [
   220                 extern_variables_declarations += [
   221                     "#define heartbeat_index "+str(hmi_tree_hearbeat_index)
   221                     "#define heartbeat_index "+str(hmi_tree_hearbeat_index)
   222                 ]
   222                 ]
   223             if hasattr(node, "iectype") and node.nodetype != "HMI_NODE":
   223             if hasattr(node, "iectype"):
   224                 sz = DebugTypesSize.get(node.iectype, 0)
   224                 sz = DebugTypesSize.get(node.iectype, 0)
   225                 variable_decl_array += [
   225                 variable_decl_array += [
   226                     "{&(" + node.cpath + "), " + node.iectype + {
   226                     "{&(" + node.cpath + "), " + node.iectype + {
   227                         "EXT": "_P_ENUM",
   227                         "EXT": "_P_ENUM",
   228                         "IN":  "_P_ENUM",
   228                         "IN":  "_P_ENUM",