mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-01-18 08:20:33 +00:00
Noise floor output formatting
This commit is contained in:
parent
fc619460f0
commit
746b403890
@ -321,7 +321,10 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
|
|||||||
print(" Rate : {ss}".format(ss=speed_str(ifstat["bitrate"])))
|
print(" Rate : {ss}".format(ss=speed_str(ifstat["bitrate"])))
|
||||||
|
|
||||||
if "noise_floor" in ifstat:
|
if "noise_floor" in ifstat:
|
||||||
print(" Noise Fl. : {nfl} dBm".format(nfl=str(ifstat["noise_floor"])))
|
if ifstat["noise_floor"] != None:
|
||||||
|
print(" Noise Fl. : {nfl} dBm".format(nfl=str(ifstat["noise_floor"])))
|
||||||
|
else:
|
||||||
|
print(" Noise Fl. : Unknown")
|
||||||
|
|
||||||
if "battery_percent" in ifstat and ifstat["battery_percent"] != None:
|
if "battery_percent" in ifstat and ifstat["battery_percent"] != None:
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user