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

View File

@ -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;
} }