mirror of
https://github.com/esphome/esphome.git
synced 2024-12-28 08:21:44 +01:00
Adnt this
This commit is contained in:
parent
c043f03527
commit
cd78a20eee
2 changed files with 1 additions and 2 deletions
|
@ -215,7 +215,6 @@ struct REG3 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
static const uint8_t OPERATING_FREQUENCY = 700;
|
|
||||||
struct RegisterConfig {
|
struct RegisterConfig {
|
||||||
uint8_t command = 0;
|
uint8_t command = 0;
|
||||||
uint8_t starting_address = 0;
|
uint8_t starting_address = 0;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace ebyte_lora {
|
namespace ebyte_lora {
|
||||||
static const char *const TAG = "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
|
// the mode the receiver is in
|
||||||
enum ModeType { NORMAL = 0, WOR_SEND = 1, WOR_RECEIVER = 2, CONFIGURATION = 3, MODE_INIT = 0xFF };
|
enum ModeType { NORMAL = 0, WOR_SEND = 1, WOR_RECEIVER = 2, CONFIGURATION = 3, MODE_INIT = 0xFF };
|
||||||
|
|
Loading…
Reference in a new issue