Remove packet from tracker after max attempts

This commit is contained in:
Hemna 2024-04-12 11:12:57 -04:00
parent f682890ef0
commit 4c2a40b7a7
1 changed files with 1 additions and 2 deletions

View File

@ -127,8 +127,7 @@ class SendPacketThread(aprsd_threads.APRSDThread):
"Message Send Complete. Max attempts reached"
f" {packet.retry_count}",
)
if not packet.allow_delay:
pkt_tracker.remove(packet.msgNo)
pkt_tracker.remove(packet.msgNo)
return False
# Message is still outstanding and needs to be acked.