Copter: move gps inject handling up to GCS_MAVLINK

This commit is contained in:
Peter Barker 2017-07-25 17:59:32 +10:00 committed by Francisco Ferreira
parent 2ad453fc89
commit 192310a68e
1 changed files with 0 additions and 5 deletions

View File

@ -1682,11 +1682,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
handle_serial_control(msg, copter.gps);
break;
case MAVLINK_MSG_ID_GPS_INJECT_DATA:
handle_gps_inject(msg, copter.gps);
result = MAV_RESULT_ACCEPTED;
break;
#if PRECISION_LANDING == ENABLED
case MAVLINK_MSG_ID_LANDING_TARGET:
result = MAV_RESULT_ACCEPTED;