From 9eec4fdff2a1e37a6f375d68d924f941719020df Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 31 Aug 2024 12:01:02 +1000 Subject: [PATCH] AP_ADSB: remove use of AP_AHRS from most headers don't need to know the details, just that it is a class --- libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.cpp | 2 ++ libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.h | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.cpp b/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.cpp index e23ee23499..5ecaffc5d7 100644 --- a/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.cpp +++ b/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.cpp @@ -32,6 +32,8 @@ #include #include +#include + extern const AP_HAL::HAL &hal; #define AP_ADSB_UAVIONIX_HEALTH_TIMEOUT_MS (5000UL) diff --git a/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.h b/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.h index 7b32a5cc2e..742b7924a8 100644 --- a/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.h +++ b/libraries/AP_ADSB/AP_ADSB_uAvionix_UCP.h @@ -24,11 +24,6 @@ #define AP_ADSB_UAVIONIX_UCP_CAPTURE_ALL_RX_PACKETS 1 - -#include -#include -#include - #include "GDL90_protocol/GDL90_Message_Structs.h" #include "GDL90_protocol/hostGDL90Support.h"