diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index f60bc65646..af481f68d3 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -1874,9 +1874,10 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg) } case MAVLINK_MSG_ID_LOG_REQUEST_DATA: - case MAVLINK_MSG_ID_LOG_ERASE: plane.in_log_download = true; /* no break */ + case MAVLINK_MSG_ID_LOG_ERASE: + /* no break */ case MAVLINK_MSG_ID_LOG_REQUEST_LIST: if (!plane.in_mavlink_delay) { handle_log_message(msg, plane.DataFlash);