Fixed signal report SNR output

This commit is contained in:
Mark Qvist 2023-10-31 12:44:32 +01:00
parent 9481938d41
commit 271b8783af

View File

@ -3491,7 +3491,7 @@ class SidebandCore():
if message.rssi != None: if message.rssi != None:
phy_str += f"RSSI: {message.rssi} dBm\n" phy_str += f"RSSI: {message.rssi} dBm\n"
if message.snr != None: if message.snr != None:
phy_str += f"SNR: {message.rssi} dB\n" phy_str += f"SNR: {message.snr} dB\n"
if len(phy_str) != 0: if len(phy_str) != 0:
phy_str = phy_str[:-1] phy_str = phy_str[:-1]
else: else: