|
|
|
@ -1635,22 +1635,6 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
@@ -1635,22 +1635,6 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
case MAVLINK_MSG_ID_LOG_REQUEST_DATA: |
|
|
|
|
case MAVLINK_MSG_ID_LOG_ERASE: |
|
|
|
|
sub.in_log_download = true; |
|
|
|
|
/* no break */ |
|
|
|
|
case MAVLINK_MSG_ID_LOG_REQUEST_LIST: |
|
|
|
|
if (!sub.in_mavlink_delay && !sub.motors.armed()) { |
|
|
|
|
sub.DataFlash.handle_mavlink_msg(*this, msg); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
case MAVLINK_MSG_ID_LOG_REQUEST_END: |
|
|
|
|
sub.in_log_download = false; |
|
|
|
|
if (!sub.in_mavlink_delay && !sub.motors.armed()) { |
|
|
|
|
sub.DataFlash.handle_mavlink_msg(*this, msg); |
|
|
|
|
} |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case MAVLINK_MSG_ID_SERIAL_CONTROL: |
|
|
|
|
handle_serial_control(msg, sub.gps); |
|
|
|
|
break; |
|
|
|
|