autotest: erase logs after downloading
This commit is contained in:
parent
6121b9c58e
commit
b666680d79
@ -251,5 +251,8 @@ def log_download(mavproxy, mav, filename, timeout=60):
|
||||
mav.wait_heartbeat()
|
||||
mavproxy.send("log download latest %s\n" % filename)
|
||||
mavproxy.expect("Finished downloading", timeout=timeout)
|
||||
mavproxy.send("log erase\n")
|
||||
mav.wait_heartbeat()
|
||||
mav.wait_heartbeat()
|
||||
return True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user