svghmi/svghmi.py
branchwxPython4
changeset 3344 4a08728a2ea4
parent 3312 2c0511479b18
parent 3341 dce1d5413310
child 3379 c3d462118d37
--- a/svghmi/svghmi.py	Tue Oct 19 13:09:45 2021 +0200
+++ b/svghmi/svghmi.py	Wed Oct 20 08:57:07 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():