diff --git a/ArduCopter/GCS_Mavlink.pde b/ArduCopter/GCS_Mavlink.pde index 83a59ae76b..434e91207e 100644 --- a/ArduCopter/GCS_Mavlink.pde +++ b/ArduCopter/GCS_Mavlink.pde @@ -1338,7 +1338,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg) } // convert mavlink packet to mission command - if (!AP_Mission::mavlink_to_mission_cmd(packet, cmd, true)) { + if (!AP_Mission::mavlink_to_mission_cmd(packet, cmd)) { result = MAV_MISSION_ERROR; goto mission_item_receive_failed; } @@ -1443,7 +1443,7 @@ mission_item_receive_failed: // convert mission command to mavlink mission item packet mavlink_mission_item_t ret_packet; memset(&ret_packet, 0, sizeof(ret_packet)); - if (!AP_Mission::mission_cmd_to_mavlink(cmd, ret_packet, true)) { + if (!AP_Mission::mission_cmd_to_mavlink(cmd, ret_packet)) { result = MAV_MISSION_ERROR; goto mission_item_send_failed; }