From f20604790833b512c5f9977d5684781926d50496 Mon Sep 17 00:00:00 2001 From: SebastianObi <54659208+SebastianObi@users.noreply.github.com> Date: Wed, 7 Jun 2023 17:42:44 +0200 Subject: [PATCH] Fixed missing init of 'r_stat_snr'. This this will otherwise lead to the error: AttributeError: 'RNodeInterface' object has no attribute 'r_stat_snr' --- RNS/Interfaces/RNodeInterface.py | 1 + 1 file changed, 1 insertion(+) diff --git a/RNS/Interfaces/RNodeInterface.py b/RNS/Interfaces/RNodeInterface.py index 187cc2a..0995ac1 100644 --- a/RNS/Interfaces/RNodeInterface.py +++ b/RNS/Interfaces/RNodeInterface.py @@ -157,6 +157,7 @@ class RNodeInterface(Interface): self.r_stat_rx = None self.r_stat_tx = None self.r_stat_rssi = None + self.r_stat_snr = None self.r_random = None self.packet_queue = []