mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 10:08:28 -04:00
Copter: not in log download upon log erase
erase is a synchronous operation
This commit is contained in:
parent
98c4b48161
commit
65a182a068
@ -1797,9 +1797,10 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
case MAVLINK_MSG_ID_LOG_REQUEST_DATA:
|
case MAVLINK_MSG_ID_LOG_REQUEST_DATA:
|
||||||
case MAVLINK_MSG_ID_LOG_ERASE:
|
|
||||||
copter.in_log_download = true;
|
copter.in_log_download = true;
|
||||||
/* no break */
|
/* no break */
|
||||||
|
case MAVLINK_MSG_ID_LOG_ERASE:
|
||||||
|
/* no break */
|
||||||
case MAVLINK_MSG_ID_LOG_REQUEST_LIST:
|
case MAVLINK_MSG_ID_LOG_REQUEST_LIST:
|
||||||
if (!copter.in_mavlink_delay && !copter.motors->armed()) {
|
if (!copter.in_mavlink_delay && !copter.motors->armed()) {
|
||||||
handle_log_message(msg, copter.DataFlash);
|
handle_log_message(msg, copter.DataFlash);
|
||||||
|
Loading…
Reference in New Issue
Block a user