mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
UAVCAN allocator as a dedicated type; reporting a warning if memory leak is deetcted upon destruction
This commit is contained in:
committed by
Lorenz Meier
parent
edfb19d9af
commit
ca4e55fec3
@@ -77,7 +77,6 @@
|
||||
UavcanNode *UavcanNode::_instance;
|
||||
UavcanNode::UavcanNode(uavcan::ICanDriver &can_driver, uavcan::ISystemClock &system_clock) :
|
||||
CDev("uavcan", UAVCAN_DEVICE_PATH),
|
||||
_pool_allocator(MemoryPoolBlockCapacitySoftLimit, MemoryPoolBlockCapacityHardLimit),
|
||||
_node(can_driver, system_clock, _pool_allocator),
|
||||
_node_mutex(),
|
||||
_esc_controller(_node),
|
||||
|
||||
Reference in New Issue
Block a user