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

reset reg status

parent d62fa8ec
...@@ -83,6 +83,10 @@ def connection_errors(): ...@@ -83,6 +83,10 @@ def connection_errors():
def reset_device(): def reset_device():
result = False result = False
#sata.reset_device()
sata.reset_ie()
for i in range(reset_limit): for i in range(reset_limit):
if not connection_errors(): if not connection_errors():
log_msg("connection error ("+str(i)+"), resetting device",4) 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