Browse Source

GCS_MAVLink: LTM telemetry support

c415-sdk
Marian Soban 6 years ago committed by Andrew Tridgell
parent
commit
6e961b55eb
  1. 3
      libraries/GCS_MAVLink/GCS.h
  2. 1
      libraries/GCS_MAVLink/GCS_Common.cpp

3
libraries/GCS_MAVLink/GCS.h

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
#include <AP_AdvancedFailsafe/AP_AdvancedFailsafe.h>
#include <AP_RTC/JitterCorrection.h>
#include <AP_Common/Bitmask.h>
#include <AP_LTM_Telem/AP_LTM_Telem.h>
#include <AP_Devo_Telem/AP_Devo_Telem.h>
#include <RC_Channel/RC_Channel.h>
#include <AP_Filesystem/AP_Filesystem_Available.h>
@ -870,6 +871,8 @@ public: @@ -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

1
libraries/GCS_MAVLink/GCS_Common.cpp

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

Loading…
Cancel
Save