From 257648c3ac30a1ae020128162fd4ae55e2a9605e Mon Sep 17 00:00:00 2001
From: kruger <kruger@astron.nl>
Date: Fri, 13 Dec 2024 12:31:01 +0100
Subject: [PATCH] disable watchdog reset

---
 pypcc/pypcc.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/pypcc/pypcc.py b/pypcc/pypcc.py
index d09e0d0..c8ef954 100755
--- a/pypcc/pypcc.py
+++ b/pypcc/pypcc.py
@@ -136,15 +136,15 @@ try:
         time.sleep(0.1);
     for c in configs:
         if c.Monitor(): continue
-    if not(args.simulator) and not(args.test):  
-        for i,c in enumerate(configs):
-           timeout=c.watchdog()
-           if timeout>10:
-                 print(i,timeout)
-           if timeout>60:
-              logging.error("I2C timeout!")
+#    if not(args.simulator) and not(args.test):  
+#        for i,c in enumerate(configs):
+#           timeout=c.watchdog()
+#           if timeout>10:
+#                 print(i,timeout)
+#           if timeout>60:
+#              logging.error("I2C timeout!")
 #               restart_I2C(i)
-              RunTimer=False
+#              RunTimer=False
 #    cnt+=1;
 #    if cnt==60*10*2: 
 #      print("****** restart test *****")
-- 
GitLab