Skip to content

Commit fa9c8ae

Browse files
committed
correct get radio
1 parent 4a44d29 commit fa9c8ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/meshcore_cli/meshcore_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,11 @@ async def next_cmd(mc, cmds, json_output=False):
686686
if json_output :
687687
print(json.dumps(
688688
{"radio_freq": mc.self_info["radio_freq"],
689-
"radio_sf": mc.self_info["radio_sf"],
690689
"radio_bw": mc.self_info["radio_bw"],
690+
"radio_sf": mc.self_info["radio_sf"],
691691
"radio_cr": mc.self_info["radio_cr"]}))
692692
else:
693-
print(f"{mc.self_info['radio_freq']},{mc.self_info['radio_sf']},{mc.self_info['radio_bw']},{mc.self_info['radio_cr']}")
693+
print(f"{mc.self_info['radio_freq']},{mc.self_info['radio_bw']},{mc.self_info['radio_sf']},{mc.self_info['radio_cr']}")
694694
case "bat" :
695695
res = await mc.commands.get_bat()
696696
logger.debug(res)

0 commit comments

Comments
 (0)