From a856722723066fc50b9f0b3d23fcf2a3d41e2a63 Mon Sep 17 00:00:00 2001 From: Guido Schreuder Date: Tue, 20 Feb 2024 00:25:21 +0100 Subject: [PATCH] sprinkle with #ifndef until clang if happy --- esphome/components/ebus/ebus_component.cpp | 3 +++ esphome/components/ebus/ebus_component.h | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/esphome/components/ebus/ebus_component.cpp b/esphome/components/ebus/ebus_component.cpp index b45ef39a38..c031e930cc 100644 --- a/esphome/components/ebus/ebus_component.cpp +++ b/esphome/components/ebus/ebus_component.cpp @@ -1,3 +1,4 @@ +#ifndef USE_ESP8266 #include "ebus_component.h" @@ -160,3 +161,5 @@ void EbusComponent::update() { } // namespace ebus } // namespace esphome + +#endif // USE_ESP8266 diff --git a/esphome/components/ebus/ebus_component.h b/esphome/components/ebus/ebus_component.h index 98ea7b6eca..cfae799217 100644 --- a/esphome/components/ebus/ebus_component.h +++ b/esphome/components/ebus/ebus_component.h @@ -7,8 +7,10 @@ #include "ebus.h" +#ifndef USE_ESP8266 #include #include +#endif namespace esphome { namespace ebus { @@ -59,8 +61,10 @@ class EbusComponent : public PollingComponent { uint8_t uart_tx_pin_; uint8_t uart_rx_pin_; +#ifndef USE_ESP8266 QueueHandle_t history_queue_; QueueHandle_t command_queue_; +#endif std::list senders_; std::list receivers_;