mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-05-09 14:55:21 +02:00
max level
This commit is contained in:
+1
-1
@@ -2231,7 +2231,7 @@ std::unordered_map<int, int16_t> findMaxRssi(int16_t *rssis, uint32_t *freqs_khz
|
||||
if (maxRssiPerMHz.find(freq_mhz) == maxRssiPerMHz.end() ||
|
||||
maxRssiPerMHz[freq_mhz] < rssi)
|
||||
{
|
||||
if (abs(rssi) < level)
|
||||
if (abs(rssi) <= level)
|
||||
{
|
||||
maxRssiPerMHz[freq_mhz] = rssi;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user