mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 01:52:48 +00:00
Merge pull request #1261 from mc-hamster/router
Add rssi meta data to the rf95 interface
This commit is contained in:
commit
a0395c1027
@ -140,6 +140,8 @@ bool RF95Interface::reconfigure()
|
||||
void RF95Interface::addReceiveMetadata(MeshPacket *mp)
|
||||
{
|
||||
mp->rx_snr = lora->getSNR();
|
||||
mp->rx_rssi = lround(lora->getRSSI());
|
||||
|
||||
}
|
||||
|
||||
void RF95Interface::setStandby()
|
||||
|
Loading…
Reference in New Issue
Block a user