Copter: support GPS_INPUT mavlink message

This commit is contained in:
Allan Matthew 2016-05-20 13:58:51 -07:00 committed by Randy Mackay
parent 4249f7dbe6
commit 860773260f

View File

@ -1857,6 +1857,13 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
break;
}
case MAVLINK_MSG_ID_GPS_INPUT:
{
result = MAV_RESULT_ACCEPTED;
copter.gps.handle_msg(msg);
break;
}
#if HIL_MODE != HIL_MODE_DISABLED
case MAVLINK_MSG_ID_HIL_STATE: // MAV ID: 90
{