From 3ce5d08c440115144bd3c6a2f3511f5a844ac935 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Tue, 9 Apr 2024 10:01:44 -0400 Subject: [PATCH] typeOfPacket fix --- src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.cpp b/src/utils.cpp index 492903a..2dee065 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -198,7 +198,7 @@ namespace Utils { sender = packet.substring(0,packet.indexOf(">")); } else if (packetType == "Digi") { fifthLine = "LoRa Rx ----> LoRa Tx"; - sender = packet.substring(3,packet.indexOf(">")); + sender = packet.substring(0,packet.indexOf(">")); } for (int i = sender.length(); i < 9; i++) { sender += " ";