From 9e42014387611eb71a2a7b3093bd7aefb273f92b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 13 Feb 2017 10:54:19 +1100 Subject: [PATCH] Tracker: not in log download upon log erase erase is a synchronous operation --- AntennaTracker/GCS_Mavlink.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AntennaTracker/GCS_Mavlink.cpp b/AntennaTracker/GCS_Mavlink.cpp index 3579f2d594..2b20732dfb 100644 --- a/AntennaTracker/GCS_Mavlink.cpp +++ b/AntennaTracker/GCS_Mavlink.cpp @@ -836,9 +836,10 @@ mission_failed: } case MAVLINK_MSG_ID_LOG_REQUEST_DATA: - case MAVLINK_MSG_ID_LOG_ERASE: tracker.in_log_download = true; /* no break */ + case MAVLINK_MSG_ID_LOG_ERASE: + /* no break */ case MAVLINK_MSG_ID_LOG_REQUEST_LIST: if (!tracker.in_mavlink_delay) { handle_log_message(msg, tracker.DataFlash);