mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Plane: move gps inject handling up to GCS_MAVLINK
This commit is contained in:
parent
4ed7f6a769
commit
fbcd072d98
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user