Skip to content
Snippets Groups Projects
Commit 257648c3 authored by Paulus Kruger's avatar Paulus Kruger
Browse files

disable watchdog reset

parent 3c501ce8
No related branches found
No related tags found
No related merge requests found
Pipeline #102613 passed
...@@ -136,15 +136,15 @@ try: ...@@ -136,15 +136,15 @@ try:
time.sleep(0.1); time.sleep(0.1);
for c in configs: for c in configs:
if c.Monitor(): continue if c.Monitor(): continue
if not(args.simulator) and not(args.test): # if not(args.simulator) and not(args.test):
for i,c in enumerate(configs): # for i,c in enumerate(configs):
timeout=c.watchdog() # timeout=c.watchdog()
if timeout>10: # if timeout>10:
print(i,timeout) # print(i,timeout)
if timeout>60: # if timeout>60:
logging.error("I2C timeout!") # logging.error("I2C timeout!")
# restart_I2C(i) # restart_I2C(i)
RunTimer=False # RunTimer=False
# cnt+=1; # cnt+=1;
# if cnt==60*10*2: # if cnt==60*10*2:
# print("****** restart test *****") # print("****** restart test *****")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment