Rover: use handle_common_message()

This commit is contained in:
Andrew Tridgell 2016-11-07 11:06:37 +11:00
parent cb57945e9e
commit 84179588a9
1 changed files with 5 additions and 10 deletions

View File

@ -1135,12 +1135,6 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
break;
}
case MAVLINK_MSG_ID_PARAM_REQUEST_READ:
{
handle_param_request_read(msg);
break;
}
case MAVLINK_MSG_ID_MISSION_CLEAR_ALL:
{
handle_mission_clear_all(rover.mission, msg);
@ -1431,10 +1425,6 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
send_autopilot_version(FIRMWARE_VERSION);
break;
case MAVLINK_MSG_ID_SETUP_SIGNING:
handle_setup_signing(msg);
break;
case MAVLINK_MSG_ID_LED_CONTROL:
// send message to Notify
AP_Notify::handle_led_control(msg);
@ -1444,6 +1434,11 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
// send message to Notify
AP_Notify::handle_play_tune(msg);
break;
default:
handle_common_message(msg);
break;
} // end switch
} // end handle mavlink