diff --git a/esphome/components/ebyte_lora/config.h b/esphome/components/ebyte_lora/config.h index 347a2b955b..f399af3d5e 100644 --- a/esphome/components/ebyte_lora/config.h +++ b/esphome/components/ebyte_lora/config.h @@ -215,7 +215,6 @@ struct REG3 { } } }; -static const uint8_t OPERATING_FREQUENCY = 700; struct RegisterConfig { uint8_t command = 0; uint8_t starting_address = 0; diff --git a/esphome/components/ebyte_lora/ebyte_lora.h b/esphome/components/ebyte_lora/ebyte_lora.h index 1dbc79b706..60b7f8ee66 100644 --- a/esphome/components/ebyte_lora/ebyte_lora.h +++ b/esphome/components/ebyte_lora/ebyte_lora.h @@ -12,7 +12,7 @@ namespace esphome { namespace ebyte_lora { static const char *const TAG = "ebyte_lora"; -static const uint8_t MAX_SIZE_TX_PACKET = 200; +static const int MAX_SIZE_TX_PACKET = 200; // the mode the receiver is in enum ModeType { NORMAL = 0, WOR_SEND = 1, WOR_RECEIVER = 2, CONFIGURATION = 3, MODE_INIT = 0xFF };