Copter: use handle_common_message()

This commit is contained in:
Andrew Tridgell 2016-11-07 11:06:51 +11:00
parent 90c4214a3e
commit df3e434607

View File

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