autotest: turn draining_mav off when doing early-exit for being quiet

This commit is contained in:
Peter Barker 2021-11-10 22:45:20 +11:00 committed by Peter Barker
parent 3f936baf5c
commit 69d86e6896
1 changed files with 1 additions and 0 deletions

View File

@ -2404,6 +2404,7 @@ class AutoTest(ABC):
while mav.recv_match(blocking=False) is not None:
count += 1
if quiet:
self.in_drain_mav = False
return
tdelta = time.time() - tstart
if tdelta == 0: