mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: announce MAVLink2 capability
This commit is contained in:
parent
7936eea1ac
commit
66073413a8
|
@ -126,6 +126,8 @@ GCS_MAVLINK::setup_uart(const AP_SerialManager& serial_manager, AP_SerialManager
|
|||
// if signing is off start by sending MAVLink1.
|
||||
status->flags |= MAVLINK_STATUS_FLAG_OUT_MAVLINK1;
|
||||
}
|
||||
// announce that we are MAVLink2 capable
|
||||
hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MAVLINK2);
|
||||
} else if (status) {
|
||||
// user has asked to only send MAVLink1
|
||||
status->flags |= MAVLINK_STATUS_FLAG_OUT_MAVLINK1;
|
||||
|
|
Loading…
Reference in New Issue