diff --git a/components/truma_inetbox/LinBusListener.h b/components/truma_inetbox/LinBusListener.h index ab05b82..a7ed684 100644 --- a/components/truma_inetbox/LinBusListener.h +++ b/components/truma_inetbox/LinBusListener.h @@ -3,9 +3,10 @@ #include "esphome/core/component.h" #include "esphome/components/uart/uart.h" +#ifdef USE_ESP32 #include #include - +#endif // USE_ESP32 #ifdef USE_ESP32_FRAMEWORK_ESP_IDF #include "freertos/FreeRTOS.h" #include "freertos/task.h"