Commit 48a763da authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

reset reg status

parent d62fa8ec
......@@ -83,6 +83,10 @@ def connection_errors():
def reset_device():
result = False
for i in range(reset_limit):
if not connection_errors():
log_msg("connection error ("+str(i)+"), resetting device",4)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment