Merge pull request #563 from ianmcorvidae/show-channel-0

Print 0 for channel rather than N/A, since we should probably always have a channel
This commit is contained in:
Ian McEwen authored and GitHub committed 2024-05-02 18:29:00 -07:00
commit 894581ce00
1 file changed
+2 -2
+2 -2
View File
@@ -211,8 +211,8 @@ class MeshInterface:
row.update(
{
"SNR": formatFloat(node.get("snr"), 2, " dB"),
"Hops Away": node.get("hopsAway", "unknown"),
"Channel": node.get("channel"),
"Hops Away": node.get("hopsAway", "0/unknown"),
"Channel": node.get("channel", 0),
"LastHeard": getLH(node.get("lastHeard")),
"Since": getTimeAgo(node.get("lastHeard")),
}