mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
uavcanesc move to cdev lib
This commit is contained in:
@@ -86,7 +86,7 @@ boot_app_shared_section app_descriptor_t AppDescriptor = {
|
||||
UavcanEsc *UavcanEsc::_instance;
|
||||
|
||||
UavcanEsc::UavcanEsc(uavcan::ICanDriver &can_driver, uavcan::ISystemClock &system_clock) :
|
||||
CDev("uavcanesc", UAVCAN_DEVICE_PATH),
|
||||
CDev(UAVCAN_DEVICE_PATH),
|
||||
active_bitrate(0),
|
||||
_node(can_driver, system_clock),
|
||||
_node_mutex(),
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
/**
|
||||
* A UAVCAN node.
|
||||
*/
|
||||
class UavcanEsc : public device::CDev
|
||||
class UavcanEsc : public cdev::CDev
|
||||
{
|
||||
/*
|
||||
* This memory is reserved for uavcan to use as over flow for message
|
||||
|
||||
Reference in New Issue
Block a user