some small changes

This commit is contained in:
Daniël Koek 2024-10-11 11:18:13 +01:00
parent 98ee2ad5ee
commit ba0508b7f5
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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_{};