mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 23:43:58 -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);
|
handle_statustext(msg);
|
||||||
break;
|
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:
|
case MAVLINK_MSG_ID_RALLY_POINT:
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case MAVLINK_MSG_ID_RALLY_FETCH_POINT:
|
case MAVLINK_MSG_ID_RALLY_FETCH_POINT:
|
||||||
|
Loading…
Reference in New Issue
Block a user