mirror of
https://github.com/markqvist/Reticulum
synced 2026-11-27 23:00:28 +00:00
Transport: fix check for r_stat_snr
This commit is contained in:
1 parent
72ba27d63c
commit
55755c6b3c
1 file changed
+1
-1
+1
-1
@@ -1504,7 +1504,7 @@ class Transport:
|
||||
Transport.local_client_rssi_cache.pop(0)
|
||||
|
||||
if hasattr(interface, "r_stat_snr"):
|
||||
if interface.r_stat_rssi != None:
|
||||
if interface.r_stat_snr != None:
|
||||
packet.snr = interface.r_stat_snr
|
||||
Transport.local_client_snr_cache.append([packet.packet_hash, packet.snr])
|
||||
while len(Transport.local_client_snr_cache) > Transport.LOCAL_CLIENT_CACHE_MAXSIZE:
|
||||
|
||||
Reference in new issue
Block a user