diff --git a/esphome/components/ebyte_lora/ebyte_lora.cpp b/esphome/components/ebyte_lora/ebyte_lora.cpp index bfcaaae9a5..0ebedec8a1 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.cpp +++ b/esphome/components/ebyte_lora/ebyte_lora.cpp @@ -1,6 +1,4 @@ #include "ebyte_lora.h" -#include "config.h" - namespace esphome { namespace ebyte_lora { static const uint8_t SWITCH_PUSH = 0x55; diff --git a/esphome/components/ebyte_lora/ebyte_lora.h b/esphome/components/ebyte_lora/ebyte_lora.h index aa07687720..da1d8539c6 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.h +++ b/esphome/components/ebyte_lora/ebyte_lora.h @@ -7,10 +7,10 @@ #include "esphome/core/helpers.h" #include "esphome/components/uart/uart.h" #include "esphome/core/log.h" +#include "config.h" namespace esphome { namespace ebyte_lora { - static const uint8_t MAX_SIZE_TX_PACKET = 200; // the mode the receiver is in