diff --git a/esphome/components/uart/uart_component_esp_idf.h b/esphome/components/uart/uart_component_esp_idf.h index 7bb25f8dff..631bf54cd5 100644 --- a/esphome/components/uart/uart_component_esp_idf.h +++ b/esphome/components/uart/uart_component_esp_idf.h @@ -3,11 +3,11 @@ #ifdef USE_ESP32 #include +#include "esphome/core/component.h" +#include "uart_component.h" #ifdef USE_UART_WAKE_LOOP_ON_RX #include #endif -#include "esphome/core/component.h" -#include "uart_component.h" namespace esphome::uart {