mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-10-26 19:01:53 -04:00
Transport: fix check for r_stat_snr
This commit is contained in:
parent
72ba27d63c
commit
55755c6b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue