mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-28 19:48:31 -04:00
GCS_MAVLink: move play_tune and led_control handling to base class
This commit is contained in:
parent
23d91c93c8
commit
b17c0482fb
@ -1846,6 +1846,16 @@ void GCS_MAVLINK::handle_common_message(mavlink_message_t *msg)
|
||||
handle_statustext(msg);
|
||||
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_RALLY_POINT:
|
||||
/* fall through */
|
||||
case MAVLINK_MSG_ID_RALLY_FETCH_POINT:
|
||||
|
Loading…
Reference in New Issue
Block a user