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 += " ";