diff -r a13da70a8ae4 -r 4a08728a2ea4 svghmi/svghmi.py --- 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():