From 6e961b55eb5fce4a504782e0c6806479594edb52 Mon Sep 17 00:00:00 2001 From: Marian Soban Date: Thu, 5 Sep 2019 07:01:47 +0200 Subject: [PATCH] GCS_MAVLink: LTM telemetry support --- libraries/GCS_MAVLink/GCS.h | 3 +++ libraries/GCS_MAVLink/GCS_Common.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/libraries/GCS_MAVLink/GCS.h b/libraries/GCS_MAVLink/GCS.h index a84469aabe..97ff026c89 100644 --- a/libraries/GCS_MAVLink/GCS.h +++ b/libraries/GCS_MAVLink/GCS.h @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include @@ -870,6 +871,8 @@ public: AP_Frsky_Telem *frsky; #if !HAL_MINIMIZE_FEATURES + // LTM backend + AP_LTM_Telem ltm_telemetry; // Devo backend AP_DEVO_Telem devo_telemetry; #endif diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 4d26ce51dc..0517578e4a 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -1971,6 +1971,7 @@ void GCS::setup_uarts() } #if !HAL_MINIMIZE_FEATURES + ltm_telemetry.init(); devo_telemetry.init(); #endif }