Added noise floor stat output to rnodeconf

This commit is contained in:
Mark Qvist
2025-01-09 15:18:29 +01:00
parent 81aa9ac5b6
commit 158765abb7
2 changed files with 8 additions and 2 deletions

View File

@@ -939,6 +939,9 @@ class Reticulum:
if hasattr(interface, "r_channel_load_long"):
ifstats["channel_load_long"] = interface.r_channel_load_long
if hasattr(interface, "r_noise_floor"):
ifstats["noise_floor"] = interface.r_noise_floor
if hasattr(interface, "r_battery_state"):
if interface.r_battery_state != 0x00:
ifstats["battery_state"] = interface.get_battery_state_string()