mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
uavcannode move to cdev lib
This commit is contained in:
@@ -110,7 +110,7 @@ boot_app_shared_section app_descriptor_t AppDescriptor = {
|
|||||||
UavcanNode *UavcanNode::_instance;
|
UavcanNode *UavcanNode::_instance;
|
||||||
|
|
||||||
UavcanNode::UavcanNode(uavcan::ICanDriver &can_driver, uavcan::ISystemClock &system_clock) :
|
UavcanNode::UavcanNode(uavcan::ICanDriver &can_driver, uavcan::ISystemClock &system_clock) :
|
||||||
CDev("uavcan", UAVCAN_DEVICE_PATH),
|
CDev(UAVCAN_DEVICE_PATH),
|
||||||
active_bitrate(0),
|
active_bitrate(0),
|
||||||
_node(can_driver, system_clock),
|
_node(can_driver, system_clock),
|
||||||
_node_mutex(),
|
_node_mutex(),
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
/**
|
/**
|
||||||
* A UAVCAN node.
|
* 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
|
* This memory is reserved for uavcan to use as over flow for message
|
||||||
|
|||||||
Reference in New Issue
Block a user