diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index 08c73d8ab0..937e59595e 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -15,9 +15,9 @@ #include #include #include -#include "../AP_Airspeed/AP_Airspeed.h" -#include "../AP_BattMonitor/AP_BattMonitor.h" -#include "../AP_RPM/AP_RPM.h" +#include +#include +#include #include #include "DataFlash_Backend.h" diff --git a/libraries/DataFlash/DataFlash_Backend.h b/libraries/DataFlash/DataFlash_Backend.h index 342fb75e2f..cbd55f42fd 100644 --- a/libraries/DataFlash/DataFlash_Backend.h +++ b/libraries/DataFlash/DataFlash_Backend.h @@ -13,8 +13,8 @@ #include #include #include -#include "../AP_Airspeed/AP_Airspeed.h" -#include "../AP_BattMonitor/AP_BattMonitor.h" +#include +#include #include class DataFlash_Backend diff --git a/libraries/DataFlash/DataFlash_File.cpp b/libraries/DataFlash/DataFlash_File.cpp index 006292cdba..772f23a62b 100644 --- a/libraries/DataFlash/DataFlash_File.cpp +++ b/libraries/DataFlash/DataFlash_File.cpp @@ -24,7 +24,7 @@ #include #include #include -#include "../AP_HAL/utility/RingBuffer.h" +#include extern const AP_HAL::HAL& hal; diff --git a/libraries/DataFlash/LogFile.cpp b/libraries/DataFlash/LogFile.cpp index a48cf3e403..a552298328 100644 --- a/libraries/DataFlash/LogFile.cpp +++ b/libraries/DataFlash/LogFile.cpp @@ -7,7 +7,7 @@ #include #include #include -#include "../AP_BattMonitor/AP_BattMonitor.h" +#include #include extern const AP_HAL::HAL& hal;