From 4eadab7a9018d6679b95607428e016b7b7109fc8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Jan 2016 09:21:49 +1100 Subject: [PATCH] HAL_QURT: support mavlink2 build --- libraries/AP_HAL_QURT/RCOutput.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_HAL_QURT/RCOutput.cpp b/libraries/AP_HAL_QURT/RCOutput.cpp index 0fc917a3d1..45365abfc3 100644 --- a/libraries/AP_HAL_QURT/RCOutput.cpp +++ b/libraries/AP_HAL_QURT/RCOutput.cpp @@ -4,7 +4,11 @@ #if CONFIG_HAL_BOARD == HAL_BOARD_QURT #include "RCOutput.h" +#if MAVLINK_PROTOCOL_VERSION == 2 +#include +#else #include +#endif #include #include #include