GCS_MAVLink: use AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED

This commit is contained in:
Peter Barker 2022-10-25 13:18:08 +11:00 committed by Peter Barker
parent c136257a3a
commit 77abaef092

View File

@ -3786,10 +3786,12 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
handle_statustext(msg);
break;
#if AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
case MAVLINK_MSG_ID_LED_CONTROL:
// send message to Notify
AP_Notify::handle_led_control(msg);
break;
#endif
#if AP_NOTIFY_MAVLINK_PLAY_TUNE_SUPPORT_ENABLED
case MAVLINK_MSG_ID_PLAY_TUNE: