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:
Pavel Kirienko
2014-04-12 18:11:30 +04:00
parent 3e4234e049
commit d801f4a7f3
4 changed files with 47 additions and 42 deletions
+1 -1
View File
@@ -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;