Fixed RSSI/SNR reporting regression

This commit is contained in:
Mark Qvist 2026-08-25 13:22:46 +02:00
parent 0536b972d7
commit dcbc7638d0
No known key found for this signature in database
4 changed files with 11 additions and 8 deletions

View file

@ -269,6 +269,7 @@ class RNodeMultiInterface(Interface):
self.r_stat_tx = None
self.r_stat_rssi = None
self.r_stat_snr = None
self.r_stat_q = None
self.r_st_alock = None
self.r_lt_alock = None
self.r_random = None
@ -276,6 +277,8 @@ class RNodeMultiInterface(Interface):
self.packet_queue = []
self.interface_ready = False
self.announce_rate_target = None
self.reports_phy_stats = True
self.validcfg = True
if id_interval != None and id_callsign != None:
@ -1127,8 +1130,6 @@ class RNodeSubInterface(Interface):
def process_incoming(self, data):
self.rxb += len(data)
self.owner.inbound(data, self)
self.r_stat_rssi = None
self.r_stat_snr = None
def process_outgoing(self,data):
if self.online: