From 98579545299a4b9bec3a866465f56f6212e9be1f Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 1 Mar 2022 12:19:09 +1100 Subject: [PATCH] AP_GPS: tidy includes --- libraries/AP_GPS/AP_GPS_ERB.cpp | 2 ++ libraries/AP_GPS/AP_GPS_ERB.h | 2 -- libraries/AP_GPS/AP_GPS_ExternalAHRS.h | 2 +- libraries/AP_GPS/AP_GPS_MAV.h | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/libraries/AP_GPS/AP_GPS_ERB.cpp b/libraries/AP_GPS/AP_GPS_ERB.cpp index 7468224abd..6185c325e3 100644 --- a/libraries/AP_GPS/AP_GPS_ERB.cpp +++ b/libraries/AP_GPS/AP_GPS_ERB.cpp @@ -26,6 +26,8 @@ #define STAT_FIX_VALID 0x01 +#include + extern const AP_HAL::HAL& hal; #if ERB_DEBUGGING diff --git a/libraries/AP_GPS/AP_GPS_ERB.h b/libraries/AP_GPS/AP_GPS_ERB.h index d07b6f078e..85863f606f 100644 --- a/libraries/AP_GPS/AP_GPS_ERB.h +++ b/libraries/AP_GPS/AP_GPS_ERB.h @@ -19,8 +19,6 @@ #pragma once -#include - #include "AP_GPS.h" #include "GPS_Backend.h" diff --git a/libraries/AP_GPS/AP_GPS_ExternalAHRS.h b/libraries/AP_GPS/AP_GPS_ExternalAHRS.h index 4acd4b4282..b046748034 100644 --- a/libraries/AP_GPS/AP_GPS_ExternalAHRS.h +++ b/libraries/AP_GPS/AP_GPS_ExternalAHRS.h @@ -19,7 +19,7 @@ #pragma once #include -#include +#include #include "AP_GPS.h" #include "GPS_Backend.h" diff --git a/libraries/AP_GPS/AP_GPS_MAV.h b/libraries/AP_GPS/AP_GPS_MAV.h index bb59400a41..f0c3872d79 100644 --- a/libraries/AP_GPS/AP_GPS_MAV.h +++ b/libraries/AP_GPS/AP_GPS_MAV.h @@ -19,8 +19,7 @@ // #pragma once -#include -#include +#include #include "AP_GPS.h" #include "GPS_Backend.h"