mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-12 06:53:35 +08:00
Node ID allocation server - allocation response TX timeout set to DEFAULT_REQUEST_PERIOD_MS
This commit is contained in:
+1
@@ -251,6 +251,7 @@ public:
|
||||
return res;
|
||||
}
|
||||
(void)allocation_pub_.setPriority(TransferPriorityLow);
|
||||
allocation_pub_.setTxTimeout(MonotonicDuration::fromMSec(Allocation::DEFAULT_REQUEST_PERIOD_MS));
|
||||
|
||||
res = allocation_sub_.start(AllocationCallback(this, &AllocationRequestManager::handleAllocation));
|
||||
if (res < 0)
|
||||
|
||||
Reference in New Issue
Block a user