beremiz

Parents c001c373f66c
Children c6de1a6cb655
SVGHMI: force MaxConnections sum back to zero, preventing it to grow indefinitely on each build.
--- 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():