Plane: move gps inject handling up to GCS_MAVLINK

This commit is contained in:
Peter Barker 2017-07-25 18:01:59 +10:00 committed by Francisco Ferreira
parent 4ed7f6a769
commit fbcd072d98

View File

@ -1710,10 +1710,6 @@ void GCS_MAVLINK_Plane::handleMessage(mavlink_message_t* msg)
handle_serial_control(msg, plane.gps);
break;
case MAVLINK_MSG_ID_GPS_INJECT_DATA:
handle_gps_inject(msg, plane.gps);
break;
case MAVLINK_MSG_ID_DISTANCE_SENSOR:
plane.rangefinder.handle_msg(msg);
break;