mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 21:33:34 +08:00
CAN TX queue quota - limiting max number of memory blocks per TX queue to avoid memory congestion if one iface is down
This commit is contained in:
@@ -73,7 +73,7 @@ TEST(CanTxQueue, TxQueue)
|
||||
|
||||
SystemClockMock clockmock;
|
||||
|
||||
CanTxQueue queue(&poolmgr, &clockmock);
|
||||
CanTxQueue queue(poolmgr, clockmock, 99999);
|
||||
EXPECT_TRUE(queue.isEmpty());
|
||||
|
||||
const uavcan::CanIOFlags flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user