mirror of
https://github.com/esphome/esphome.git
synced 2024-12-04 13:44:40 +01:00
sprinkle with #ifndef until clang if happy
This commit is contained in:
parent
2d64411a65
commit
a856722723
@ -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
|
||||
|
@ -7,8 +7,10 @@
|
||||
|
||||
#include "ebus.h"
|
||||
|
||||
#ifndef USE_ESP8266
|
||||
#include <driver/uart.h>
|
||||
#include <soc/uart_reg.h>
|
||||
#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<EbusSender *> senders_;
|
||||
std::list<EbusReceiver *> receivers_;
|
||||
|
Loading…
Reference in New Issue
Block a user