Use hopLimit setting for ACKs as well

This commit is contained in:
GUVWAF
2022-12-16 19:31:20 +01:00
parent 430908f5d6
commit 3b9b33a5ee
8 changed files with 31 additions and 21 deletions

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;