typeOfPacket fix

This commit is contained in:
richonguzman 2024-04-09 10:01:44 -04:00
parent 51b59ab555
commit 3ce5d08c44
1 changed files with 1 additions and 1 deletions

View File

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