From 474f03e707053f29cd1d22909b12df3a9cea9ab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Koek?= Date: Wed, 31 Jan 2024 18:08:34 +0000 Subject: [PATCH] Update lora_e220.cpp --- esphome/components/ebyte_lora_e220/lora_e220.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/ebyte_lora_e220/lora_e220.cpp b/esphome/components/ebyte_lora_e220/lora_e220.cpp index 0c3483e760..412fb2d50c 100644 --- a/esphome/components/ebyte_lora_e220/lora_e220.cpp +++ b/esphome/components/ebyte_lora_e220/lora_e220.cpp @@ -1,4 +1,5 @@ #include "lora_e220.h" +#define bitRead(value, bit) (((value) >> (bit)) & 0x01) namespace esphome { namespace lora_e220 { LoRa_E220::LoRa_E220(esphome::uart::UARTDevice *serial, GPIOPin *auxPin, GPIOPin *m0Pin,