GCS_MAVLink: handle param_request_list in GCS_MAVLINK base class

This commit is contained in:
Peter Barker 2017-08-19 20:26:10 +10:00 committed by Francisco Ferreira
parent 640b2b7a13
commit 8a7a1b77dd
2 changed files with 5 additions and 0 deletions

View File

@ -1785,6 +1785,8 @@ void GCS_MAVLINK::handle_common_message(mavlink_message_t *msg)
handle_setup_signing(msg);
break;
case MAVLINK_MSG_ID_PARAM_REQUEST_LIST:
/* fall through */
case MAVLINK_MSG_ID_PARAM_SET:
/* fall through */
case MAVLINK_MSG_ID_PARAM_REQUEST_READ:

View File

@ -441,6 +441,9 @@ void GCS_MAVLINK::send_parameter_reply(void)
void GCS_MAVLINK::handle_common_param_message(mavlink_message_t *msg)
{
switch (msg->msgid) {
case MAVLINK_MSG_ID_PARAM_REQUEST_LIST:
handle_param_request_list(msg);
break;
case MAVLINK_MSG_ID_PARAM_SET:
handle_param_set(msg);
break;