fix estimated timeout for multi byte path traces

This commit is contained in:
liamcottle
2026-02-10 17:01:30 +13:00
parent 3f33455b4d
commit bafa2ccd22

View File

@@ -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;