Tools: adjust for when LTM telemetry is disabled

This commit is contained in:
Peter Barker 2022-06-28 08:40:05 +10:00 committed by Peter Barker
parent c672301df3
commit 67aa9ecdd4
1 changed files with 2 additions and 0 deletions

View File

@ -111,8 +111,10 @@ bool AP_AdvancedFailsafe::gcs_terminate(bool should_terminate, const char *reaso
// dummy method to avoid linking AP_Avoidance // dummy method to avoid linking AP_Avoidance
// AP_Avoidance *AP::ap_avoidance() { return nullptr; } // AP_Avoidance *AP::ap_avoidance() { return nullptr; }
#if AP_LTM_TELEM_ENABLED
// avoid building/linking LTM: // avoid building/linking LTM:
void AP_LTM_Telem::init() {}; void AP_LTM_Telem::init() {};
#endif
#if AP_DEVO_TELEM_ENABLED #if AP_DEVO_TELEM_ENABLED
// avoid building/linking Devo: // avoid building/linking Devo:
void AP_DEVO_Telem::init() {}; void AP_DEVO_Telem::init() {};