kopia lustrzana https://github.com/PiInTheSky/lora-gateway
V1.8.35 - RSSI fix
rodzic
6c794ed991
commit
f8c9ed5e01
|
@ -232,6 +232,11 @@ Many thanks to David Brooke for coding this feature and the AFC.
|
|||
Change History
|
||||
==============
|
||||
|
||||
10/02/2020 - V1.8.35
|
||||
--------------------
|
||||
|
||||
Fix to RSSI calculation when SNR < 0 (thanks to Alan Hall)
|
||||
|
||||
03/02/2020 - V1.8.34
|
||||
--------------------
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "udpclient.h"
|
||||
#include "lifo_buffer.h"
|
||||
|
||||
#define VERSION "V1.8.34"
|
||||
#define VERSION "V1.8.35"
|
||||
bool run = TRUE;
|
||||
|
||||
// RFM98
|
||||
|
@ -1406,7 +1406,7 @@ int FixRSSI(int Channel, int RawRSSI, int SNR)
|
|||
|
||||
if (SNR < 0)
|
||||
{
|
||||
RSSI += SNR/4;
|
||||
RSSI += SNR;
|
||||
}
|
||||
|
||||
return RSSI;
|
||||
|
|
Ładowanie…
Reference in New Issue