reliable unicast 1 hop works!

This commit is contained in:
geeksville
2020-05-19 15:51:07 -07:00
parent c65b518432
commit 71041e8674
5 changed files with 19 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ void ReliableRouter::handleReceived(MeshPacket *p)
// we are careful to only read/update wasSeenRecently _after_ confirming this is an ack (to not mess
// up broadcasts)
if ((ackId || nakId) && !wasSeenRecently(p)) {
if ((ackId || nakId) && !wasSeenRecently(p, false)) {
if (ackId) {
DEBUG_MSG("Received a ack=%d, stopping retransmissions\n", ackId);
stopRetransmission(p->to, ackId);