mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 03:04:12 +01:00
Update ebyte_lora_component.cpp
This commit is contained in:
parent
80375e6a07
commit
ad01a1eb87
1 changed files with 1 additions and 1 deletions
|
@ -425,8 +425,8 @@ void EbyteLoraComponent::loop() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
this->rssi_sensor_->publish_state((data[data.size() - 1] / 255.0) * 100);
|
this->rssi_sensor_->publish_state((data[data.size() - 1] / 255.0) * 100);
|
||||||
ESP_LOGD(TAG, "RSSI: %f", (data[data.size() - 1] / 255.0) * 100);
|
ESP_LOGD(TAG, "RSSI: %f", (data[data.size() - 1] / 255.0) * 100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue