mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
Tracker: not in log download upon log erase
erase is a synchronous operation
This commit is contained in:
parent
e12e51f502
commit
9e42014387
@ -836,9 +836,10 @@ mission_failed:
|
|||||||
}
|
}
|
||||||
|
|
||||||
case MAVLINK_MSG_ID_LOG_REQUEST_DATA:
|
case MAVLINK_MSG_ID_LOG_REQUEST_DATA:
|
||||||
case MAVLINK_MSG_ID_LOG_ERASE:
|
|
||||||
tracker.in_log_download = true;
|
tracker.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 (!tracker.in_mavlink_delay) {
|
if (!tracker.in_mavlink_delay) {
|
||||||
handle_log_message(msg, tracker.DataFlash);
|
handle_log_message(msg, tracker.DataFlash);
|
||||||
|
Loading…
Reference in New Issue
Block a user