mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 07:34:06 +08:00
uavcannode move to cdev lib
This commit is contained in:
parent
087c8cacb5
commit
6142e2c4b8
@ -110,7 +110,7 @@ boot_app_shared_section app_descriptor_t AppDescriptor = {
|
||||
UavcanNode *UavcanNode::_instance;
|
||||
|
||||
UavcanNode::UavcanNode(uavcan::ICanDriver &can_driver, uavcan::ISystemClock &system_clock) :
|
||||
CDev("uavcan", UAVCAN_DEVICE_PATH),
|
||||
CDev(UAVCAN_DEVICE_PATH),
|
||||
active_bitrate(0),
|
||||
_node(can_driver, system_clock),
|
||||
_node_mutex(),
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
/**
|
||||
* A UAVCAN node.
|
||||
*/
|
||||
class UavcanNode : public device::CDev
|
||||
class UavcanNode : public cdev::CDev
|
||||
{
|
||||
/*
|
||||
* This memory is reserved for uavcan to use as over flow for message
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user