mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Sub: tighten type on mavlink_coordinate_frame_to_location_alt_frame
This commit is contained in:
parent
18de327e7f
commit
68edf6351d
@ -683,7 +683,7 @@ void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
Location::AltFrame frame;
|
Location::AltFrame frame;
|
||||||
if (!mavlink_coordinate_frame_to_location_alt_frame(packet.coordinate_frame, frame)) {
|
if (!mavlink_coordinate_frame_to_location_alt_frame((MAV_FRAME)packet.coordinate_frame, frame)) {
|
||||||
// unknown coordinate frame
|
// unknown coordinate frame
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user