Skip to content

Commit

Permalink
refactor: always send range tests with zero hops
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir authored Mar 10, 2024
1 parent dced888 commit 967b178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/RangeTestModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void RangeTestModuleRadio::sendPayload(NodeNum dest, bool wantReplies)
meshtastic_MeshPacket *p = allocDataPacket();
p->to = dest;
p->decoded.want_response = wantReplies;

p->hop_limit = 0;
p->want_ack = true;

packetSequence++;
Expand Down Expand Up @@ -295,4 +295,4 @@ bool RangeTestModuleRadio::appendFile(const meshtastic_MeshPacket &mp)
#endif

return 1;
}
}

0 comments on commit 967b178

Please sign in to comment.