GCS_MAVLink: move play_tune and led_control handling to base class

This commit is contained in:
Peter Barker 2017-08-17 13:43:45 +10:00 committed by Jacob Walser
parent f4eed2a710
commit 4dd659cda7

View File

@ -1914,6 +1914,14 @@ void GCS_MAVLINK::handle_common_message(mavlink_message_t *msg)
case MAVLINK_MSG_ID_TIMESYNC: case MAVLINK_MSG_ID_TIMESYNC:
handle_timesync(msg); handle_timesync(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;
} }
} }