From 04081f76741d3a34a32c0ea3e71daa387e3c4ea8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 20 Mar 2023 12:36:58 +0100 Subject: [PATCH] Fix rp2040 build --- components/truma_inetbox/LinBusListener.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"