GCS_MAVLink: add AP_LTM_TELEM_ENABLED

This commit is contained in:
Peter Barker 2022-06-27 16:39:33 +10:00 committed by Peter Barker
parent 75862b3e27
commit 5f095304cf
2 changed files with 2 additions and 2 deletions

View File

@ -1082,7 +1082,7 @@ public:
// frsky backend
class AP_Frsky_Telem *frsky;
#if !HAL_MINIMIZE_FEATURES
#if AP_LTM_TELEM_ENABLED
// LTM backend
AP_LTM_Telem ltm_telemetry;
#endif

View File

@ -2243,7 +2243,7 @@ void GCS::setup_uarts()
frsky = nullptr;
}
}
#if !HAL_MINIMIZE_FEATURES
#if AP_LTM_TELEM_ENABLED
ltm_telemetry.init();
#endif