mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 04:31:37 +08:00
Unit tests no longer segfault, 26 are failing
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
TEST(OutgoingTransferRegistry, Basic)
|
TEST(OutgoingTransferRegistry, Basic)
|
||||||
{
|
{
|
||||||
using uavcan::OutgoingTransferRegistryKey;
|
using uavcan::OutgoingTransferRegistryKey;
|
||||||
NullAllocator poolmgr; // Empty
|
uavcan::PoolAllocator<uavcan::MemPoolBlockSize * 4, uavcan::MemPoolBlockSize> poolmgr;
|
||||||
uavcan::OutgoingTransferRegistry otr(poolmgr);
|
uavcan::OutgoingTransferRegistry otr(poolmgr);
|
||||||
|
|
||||||
otr.cleanup(tsMono(1000));
|
otr.cleanup(tsMono(1000));
|
||||||
|
|||||||
Reference in New Issue
Block a user