mirror of https://github.com/ArduPilot/ardupilot
autotest: add quiet option to drain_mav
This commit is contained in:
parent
c5e289efc3
commit
937d7bf335
|
@ -1674,6 +1674,8 @@ class AutoTest(ABC):
|
|||
tstart = time.time()
|
||||
while mav.recv_match(blocking=False) is not None:
|
||||
count += 1
|
||||
if quiet:
|
||||
return
|
||||
tdelta = time.time() - tstart
|
||||
if tdelta == 0:
|
||||
rate = "instantly"
|
||||
|
|
Loading…
Reference in New Issue