autotest: correct reset of autoreconnect in case of exception
always true in practice
This commit is contained in:
parent
b6c4930b3a
commit
2e2ffbe4ac
@ -2759,7 +2759,7 @@ class AutoTest(ABC):
|
||||
try:
|
||||
this = mav.recv(1000000)
|
||||
except Exception:
|
||||
mav.autoreconnect = True
|
||||
mav.autoreconnect = old_autoreconnect
|
||||
raise
|
||||
if len(this) == 0:
|
||||
break
|
||||
|
Loading…
Reference in New Issue
Block a user