From 32ef354c2291010b483cf12aacb22d644d2e4ab0 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Mon, 28 Feb 2022 17:47:09 -0800 Subject: [PATCH] Add rssi to printPacket --- src/mesh/RadioInterface.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesh/RadioInterface.cpp b/src/mesh/RadioInterface.cpp index d280377b4..509b51d51 100644 --- a/src/mesh/RadioInterface.cpp +++ b/src/mesh/RadioInterface.cpp @@ -218,6 +218,9 @@ void printPacket(const char *prefix, const MeshPacket *p) if (p->rx_snr != 0.0) { DEBUG_MSG(" rxSNR=%g", p->rx_snr); } + if (p->rx_rssi != 0) { + DEBUG_MSG(" rxSNR=%g", p->rx_rssi); + } if (p->priority != 0) DEBUG_MSG(" priority=%d", p->priority);