Push RSSI to the phone

1.2-legacy
Vadim Furman 2021-03-22 19:39:49 -07:00
rodzic a25235dc03
commit b9fd726c14
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -142,6 +142,7 @@ void SX1262Interface::addReceiveMetadata(MeshPacket *mp)
{
// DEBUG_MSG("PacketStatus %x\n", lora.getPacketStatus());
mp->rx_snr = lora.getSNR();
mp->rx_rssi = lround(lora.getRSSI());
}
/** We override to turn on transmitter power as needed.