Plane: not in log download upon log erase
erase is a synchronous operation
This commit is contained in:
parent
82ac46e0ed
commit
98c4b48161
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user