From 569cc1c10891e07b68f4bfae8dfd3a8c9d73cc35 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 16 Jul 2016 16:02:42 +1000 Subject: [PATCH] Plane: support the LED_CONTROL MAVLink message --- ArduPlane/GCS_Mavlink.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 8c9373eca8..d908264f53 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -2107,6 +2107,11 @@ void GCS_MAVLINK_Plane::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_REMOTE_LOG_BLOCK_STATUS: plane.DataFlash.remote_log_block_status_msg(chan, msg); break;