GCS_MAVLink: LTM telemetry support

This commit is contained in:
Marian Soban 2019-09-05 07:01:47 +02:00 committed by Andrew Tridgell
parent 018d6bd35b
commit 6e961b55eb
2 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include <AP_AdvancedFailsafe/AP_AdvancedFailsafe.h> #include <AP_AdvancedFailsafe/AP_AdvancedFailsafe.h>
#include <AP_RTC/JitterCorrection.h> #include <AP_RTC/JitterCorrection.h>
#include <AP_Common/Bitmask.h> #include <AP_Common/Bitmask.h>
#include <AP_LTM_Telem/AP_LTM_Telem.h>
#include <AP_Devo_Telem/AP_Devo_Telem.h> #include <AP_Devo_Telem/AP_Devo_Telem.h>
#include <RC_Channel/RC_Channel.h> #include <RC_Channel/RC_Channel.h>
#include <AP_Filesystem/AP_Filesystem_Available.h> #include <AP_Filesystem/AP_Filesystem_Available.h>
@ -870,6 +871,8 @@ public:
AP_Frsky_Telem *frsky; AP_Frsky_Telem *frsky;
#if !HAL_MINIMIZE_FEATURES #if !HAL_MINIMIZE_FEATURES
// LTM backend
AP_LTM_Telem ltm_telemetry;
// Devo backend // Devo backend
AP_DEVO_Telem devo_telemetry; AP_DEVO_Telem devo_telemetry;
#endif #endif

View File

@ -1971,6 +1971,7 @@ void GCS::setup_uarts()
} }
#if !HAL_MINIMIZE_FEATURES #if !HAL_MINIMIZE_FEATURES
ltm_telemetry.init();
devo_telemetry.init(); devo_telemetry.init();
#endif #endif
} }