diff --git a/MAVProxy/mavproxy.py b/MAVProxy/mavproxy.py index deeaac02f2..58807b0f9c 100755 --- a/MAVProxy/mavproxy.py +++ b/MAVProxy/mavproxy.py @@ -940,6 +940,7 @@ def log_writer(): if not mpstate.logqueue_raw.empty(): bytes = mpstate.logqueue_raw.get(block=False) mpstate.logfile_raw.write(bytearray(bytes)) + time.sleep(0.001) # TODO consider wait() the stop event instead timeout = time.time() + 10