mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: move play_tune and led_control handling to base class
This commit is contained in:
parent
92becb2875
commit
6db348bab3
@ -1599,16 +1599,6 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
|
||||
send_autopilot_version(FIRMWARE_VERSION);
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_LED_CONTROL:
|
||||
// send message to Notify
|
||||
AP_Notify::handle_led_control(msg);
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_PLAY_TUNE:
|
||||
// send message to Notify
|
||||
AP_Notify::handle_play_tune(msg);
|
||||
break;
|
||||
|
||||
case MAVLINK_MSG_ID_SET_HOME_POSITION:
|
||||
{
|
||||
mavlink_set_home_position_t packet;
|
||||
|
Loading…
Reference in New Issue
Block a user