Merge pull request #1651 from liamcottle/fix/path-trace-timeout
Fix: Path Trace Timeout
This commit is contained in:
@@ -1568,7 +1568,7 @@ void MyMesh::handleCmdFrame(size_t len) {
|
|||||||
sendDirect(pkt, &cmd_frame[10], path_len);
|
sendDirect(pkt, &cmd_frame[10], path_len);
|
||||||
|
|
||||||
uint32_t t = _radio->getEstAirtimeFor(pkt->payload_len + pkt->path_len + 2);
|
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[0] = RESP_CODE_SENT;
|
||||||
out_frame[1] = 0;
|
out_frame[1] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user