Browse Source

Rover: not in log download upon log erase

erase is a synchronous operation
mission-4.1.18
Peter Barker 8 years ago committed by Andrew Tridgell
parent
commit
82ac46e0ed
  1. 3
      APMrover2/GCS_Mavlink.cpp

3
APMrover2/GCS_Mavlink.cpp

@ -1425,9 +1425,10 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg) @@ -1425,9 +1425,10 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
}
case MAVLINK_MSG_ID_LOG_REQUEST_DATA:
case MAVLINK_MSG_ID_LOG_ERASE:
rover.in_log_download = true;
/* no break */
case MAVLINK_MSG_ID_LOG_ERASE:
/* no break */
case MAVLINK_MSG_ID_LOG_REQUEST_LIST:
if (!rover.in_mavlink_delay) {
handle_log_message(msg, rover.DataFlash);

Loading…
Cancel
Save