mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
GCS_MAVLink: Adapt to upstream mavlink changes in autopilot_version message
This commit is contained in:
parent
8284746420
commit
8703eecfae
@ -1383,6 +1383,7 @@ void GCS_MAVLINK::send_autopilot_version() const
|
||||
uint16_t vendor_id = 0;
|
||||
uint16_t product_id = 0;
|
||||
uint64_t uid = 0;
|
||||
uint8_t uid2[18] = {0};
|
||||
const AP_FWVersion &version = get_fwver();
|
||||
|
||||
flight_sw_version = version.major << (8 * 3) | \
|
||||
@ -1417,7 +1418,8 @@ void GCS_MAVLINK::send_autopilot_version() const
|
||||
(uint8_t *)os_custom_version,
|
||||
vendor_id,
|
||||
product_id,
|
||||
uid
|
||||
uid,
|
||||
uid2
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user