mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
some small changes
This commit is contained in:
parent
98ee2ad5ee
commit
ba0508b7f5
2 changed files with 2 additions and 2 deletions
|
@ -448,7 +448,7 @@ void EbyteLoraComponent::process_(std::vector<uint8_t> data) {
|
|||
#ifdef USE_BINARY_SENSOR
|
||||
auto &binary_sensors = this->remote_binary_sensors_[network_id_];
|
||||
#endif
|
||||
ESP_LOGD(TAG, "GOT new data to process");
|
||||
|
||||
uint8_t first_byte = data[0];
|
||||
bool unknown_key = true;
|
||||
// rssi is always the last one, except for when it is a program conf
|
||||
|
|
|
@ -122,7 +122,7 @@ class EbyteLoraComponent : public PollingComponent, public uart::UARTDevice {
|
|||
// if set it will function as a repeater only
|
||||
bool repeater_enabled_ = false;
|
||||
// used to tell one lora device apart from another
|
||||
int network_id_ = 0;
|
||||
uint8_t network_id_ = 0;
|
||||
int rssi_ = 0;
|
||||
RegisterConfig current_config_{};
|
||||
RegisterConfig expected_config_{};
|
||||
|
|
Loading…
Reference in a new issue