mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #1651 from liamcottle/fix/path-trace-timeout
Fix: Path Trace Timeout
This commit is contained in:
commit
7d7e88e950
1 changed files with 1 additions and 1 deletions
|
|
@ -1568,7 +1568,7 @@ void MyMesh::handleCmdFrame(size_t len) {
|
|||
sendDirect(pkt, &cmd_frame[10], path_len);
|
||||
|
||||
uint32_t t = _radio->getEstAirtimeFor(pkt->payload_len + pkt->path_len + 2);
|
||||
uint32_t est_timeout = calcDirectTimeoutMillisFor(t, path_len);
|
||||
uint32_t est_timeout = calcDirectTimeoutMillisFor(t, path_len >> path_sz);
|
||||
|
||||
out_frame[0] = RESP_CODE_SENT;
|
||||
out_frame[1] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue