Don't resend ACK every time you receive the packet

This commit is contained in:
GUVWAF committed 2022-12-28 14:13:48 +01:00
1 parent 3b9b33a5ee
commit b4735f4224
6 files changed
+10 -18

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ MeshPacket *MeshModule::allocAckNak(Routing_Error err, NodeNum to, PacketId idFr
p->priority = MeshPacket_Priority_ACK;
p->hop_limit = config.lora.hop_limit; // Assume just immediate neighbors for now
p->hop_limit = config.lora.hop_limit; // Flood ACK back to original sender
p->to = to;
p->decoded.request_id = idFrom;
p->channel = chIndex;