kopia lustrzana https://github.com/meshtastic/firmware
refactor: always send range tests with zero hops
rodzic
dced888492
commit
3da1b74a10
|
@ -113,7 +113,7 @@ void RangeTestModuleRadio::sendPayload(NodeNum dest, bool wantReplies)
|
||||||
meshtastic_MeshPacket *p = allocDataPacket();
|
meshtastic_MeshPacket *p = allocDataPacket();
|
||||||
p->to = dest;
|
p->to = dest;
|
||||||
p->decoded.want_response = wantReplies;
|
p->decoded.want_response = wantReplies;
|
||||||
|
p->hop_limit = 0;
|
||||||
p->want_ack = true;
|
p->want_ack = true;
|
||||||
|
|
||||||
packetSequence++;
|
packetSequence++;
|
||||||
|
@ -295,4 +295,4 @@ bool RangeTestModuleRadio::appendFile(const meshtastic_MeshPacket &mp)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue