Browse Source

Copter: tighten type on mavlink_coordinate_frame_to_location_alt_frame

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
18de327e7f
  1. 2
      ArduCopter/GCS_Mavlink.cpp

2
ArduCopter/GCS_Mavlink.cpp

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

Loading…
Cancel
Save