ACK retried want_ack packets

This commit is contained in:
Ryan Tolboom
2021-11-22 21:31:12 -05:00
parent bc7fc1285d
commit c36b233c49
5 changed files with 16 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ ErrorCode FloodingRouter::send(MeshPacket *p)
return Router::send(p);
}
bool FloodingRouter::shouldFilterReceived(const MeshPacket *p)
bool FloodingRouter::shouldFilterReceived(MeshPacket *p)
{
if (wasSeenRecently(p)) { // Note: this will also add a recent packet record
printPacket("Ignoring incoming msg, because we've already seen it", p);