Copter: use handle_common_message()

This commit is contained in:
Andrew Tridgell 2016-11-07 11:06:51 +11:00
parent 90c4214a3e
commit df3e434607
1 changed files with 2 additions and 9 deletions

View File

@ -845,12 +845,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
break;
}
case MAVLINK_MSG_ID_PARAM_REQUEST_READ: // MAV ID: 20
{
handle_param_request_read(msg);
break;
}
case MAVLINK_MSG_ID_PARAM_REQUEST_LIST: // MAV ID: 21
{
// mark the firmware version in the tlog
@ -1972,10 +1966,9 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
#endif
break;
case MAVLINK_MSG_ID_SETUP_SIGNING:
handle_setup_signing(msg);
default:
handle_common_message(msg);
break;
} // end switch
} // end handle mavlink