ArduSub: 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 e3b467bebb
commit c672301df3
1 changed files with 2 additions and 0 deletions

View File

@ -96,8 +96,10 @@ void GCS_Sub::update_vehicle_sensor_status_flags()
#endif #endif
} }
#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() {};