Skip to content

Commit

Permalink
digiMode self hearing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Mar 21, 2024
1 parent 54bbede commit 6bd6cce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/digi_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ namespace DIGI_Utils {
if (packet.substring(0, 3) == "\x3c\xff\x01") {
Serial.println(" ---> APRS LoRa Packet");
Sender = packet.substring(3,packet.indexOf(">"));
STATION_Utils::updateLastHeard(Sender);
//STATION_Utils::updatePacketBuffer(packet);
Utils::typeOfPacket(packet.substring(3), "Digi");
if (Sender != Config.callsign) {
if (Sender != Config.callsign) {
STATION_Utils::updateLastHeard(Sender);
//STATION_Utils::updatePacketBuffer(packet);
Utils::typeOfPacket(packet.substring(3), "Digi");
AddresseeAndMessage = packet.substring(packet.indexOf("::")+2);
Addressee = AddresseeAndMessage.substring(0,AddresseeAndMessage.indexOf(":"));
Addressee.trim();
Expand All @@ -81,9 +81,9 @@ namespace DIGI_Utils {
}
}
}
} else {
} /*else {
Serial.println(" ---> LoRa Packet Ignored (first 3 bytes or NOGATE)\n");
}
}*/
}
}

Expand Down

0 comments on commit 6bd6cce

Please sign in to comment.