mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
Update lora.cpp
This commit is contained in:
parent
ca950d68e4
commit
0c3270d352
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,8 @@ void Lora::loop() {
|
|||
ESP_LOGD(TAG, "PIN: %u ", data[1]);
|
||||
ESP_LOGD(TAG, "VALUE: %u ", data[2]);
|
||||
ESP_LOGD(TAG, "RSSI: %u ", data[3]);
|
||||
rssi_ = (char) data[3];
|
||||
this->update_needed_ = true;
|
||||
} else {
|
||||
ESP_LOGD(TAG, "WEIRD");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue