diff --git a/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp b/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp index 9b53ae633c..9a175a362f 100644 --- a/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp +++ b/libraries/AP_HAL_ESP32/HAL_ESP32_Class.cpp @@ -20,16 +20,12 @@ #include "Scheduler.h" #include "I2CDevice.h" #include "SPIDevice.h" -#include "I2CDevice.h" #include "UARTDriver.h" #include "WiFiDriver.h" #include "WiFiUdpDriver.h" #include "RCInput.h" #include "RCOutput.h" #include "Storage.h" -#include "RCOutput.h" -#include "Storage.h" -#include "RCOutput.h" #include "AnalogIn.h" #include "Util.h" diff --git a/libraries/AP_HAL_ESP32/Util.cpp b/libraries/AP_HAL_ESP32/Util.cpp index 1fac298b79..013d241617 100644 --- a/libraries/AP_HAL_ESP32/Util.cpp +++ b/libraries/AP_HAL_ESP32/Util.cpp @@ -33,7 +33,6 @@ #include "esp_log.h" #include "esp_system.h" #include "esp_heap_caps.h" -#include "esp_system.h" extern const AP_HAL::HAL& hal;