Sub: tighten type on mavlink_coordinate_frame_to_location_alt_frame

This commit is contained in:
Peter Barker 2019-08-01 11:02:54 +10:00 committed by Peter Barker
parent 18de327e7f
commit 68edf6351d
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ void GCS_MAVLINK_Sub::handleMessage(const mavlink_message_t &msg)
break;
}
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
break;
}