svghmi/svghmi.py
changeset 3341 dce1d5413310
parent 3290 f0c97422b34a
child 3344 4a08728a2ea4
child 3348 cfac764413dd
--- a/svghmi/svghmi.py	Fri Oct 08 09:13:02 2021 +0200
+++ b/svghmi/svghmi.py	Tue Oct 19 09:41:48 2021 +0200
@@ -56,6 +56,8 @@
     def Generate_C(self, buildpath, varlist, IECCFLAGS):
         global hmi_tree_root, on_hmitree_update, maxConnectionsTotal
 
+        maxConnectionsTotal = 0
+
         already_found_watchdog = False
         found_SVGHMI_instance = False
         for CTNChild in self.GetCTR().IterChildren():