From c672301df3a6dcee21867acca8b477596abc0f01 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 28 Jun 2022 08:40:05 +1000 Subject: [PATCH] ArduSub: adjust for when LTM telemetry is disabled --- ArduSub/GCS_Sub.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduSub/GCS_Sub.cpp b/ArduSub/GCS_Sub.cpp index 0946c397ad..d41ca4057f 100644 --- a/ArduSub/GCS_Sub.cpp +++ b/ArduSub/GCS_Sub.cpp @@ -96,8 +96,10 @@ void GCS_Sub::update_vehicle_sensor_status_flags() #endif } +#if AP_LTM_TELEM_ENABLED // avoid building/linking LTM: void AP_LTM_Telem::init() {}; +#endif #if AP_DEVO_TELEM_ENABLED // avoid building/linking Devo: void AP_DEVO_Telem::init() {};