Use hopLimit setting for ACKs as well

This commit is contained in:
GUVWAF committed 2022-12-28 14:13:14 +01:00
1 parent 430908f5d6
commit 3b9b33a5ee
8 files changed
+31 -21

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 = 0; // Assume just immediate neighbors for now
p->hop_limit = config.lora.hop_limit; // Assume just immediate neighbors for now
p->to = to;
p->decoded.request_id = idFrom;
p->channel = chIndex;