Don't resend ACK every time you receive the packet

This commit is contained in:
GUVWAF
2022-12-28 14:13:48 +01:00
parent 3b9b33a5ee
commit b4735f4224
6 changed files with 10 additions and 18 deletions
+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;