Skip to content

Commit

Permalink
sender vs Sender fix
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Mar 28, 2024
1 parent c1bb6e3 commit e52ac86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/digi_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ namespace DIGI_Utils {
if ((packet.substring(0, 3) == "\x3c\xff\x01") && (packet.indexOf("NOGATE") == -1)) {
Sender = packet.substring(3, packet.indexOf(">"));
if (Sender != Config.callsign) {
String sender = packet.substring(3, packet.indexOf(">"));
STATION_Utils::updateLastHeard(sender);
STATION_Utils::updateLastHeard(Sender);
// STATION_Utils::updatePacketBuffer(packet);
Utils::typeOfPacket(packet.substring(3), "Digi");
AddresseeAndMessage = packet.substring(packet.indexOf("::") + 2);
Expand Down

0 comments on commit e52ac86

Please sign in to comment.