Browse Source

uavcanesc move to cdev lib

sbg
Daniel Agar 7 years ago committed by Beat Küng
parent
commit
087c8cacb5
  1. 2
      src/modules/uavcanesc/uavcanesc_main.cpp
  2. 2
      src/modules/uavcanesc/uavcanesc_main.hpp

2
src/modules/uavcanesc/uavcanesc_main.cpp

@ -86,7 +86,7 @@ boot_app_shared_section app_descriptor_t AppDescriptor = { @@ -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(),

2
src/modules/uavcanesc/uavcanesc_main.hpp

@ -54,7 +54,7 @@ @@ -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

Loading…
Cancel
Save