Unit tests no longer segfault, 26 are failing

This commit is contained in:
Pavel Kirienko 2015-10-14 08:38:04 +03:00
parent be84897ed6
commit dc5fdbb1cc

View File

@ -12,7 +12,7 @@
TEST(OutgoingTransferRegistry, Basic)
{
using uavcan::OutgoingTransferRegistryKey;
NullAllocator poolmgr; // Empty
uavcan::PoolAllocator<uavcan::MemPoolBlockSize * 4, uavcan::MemPoolBlockSize> poolmgr;
uavcan::OutgoingTransferRegistry otr(poolmgr);
otr.cleanup(tsMono(1000));