Browse Source

AP_UAVCAN: allow rangefinder backends to be individually compiled in

apm_2208
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
05131853d8
  1. 2
      libraries/AP_UAVCAN/AP_UAVCAN.cpp

2
libraries/AP_UAVCAN/AP_UAVCAN.cpp

@ -342,7 +342,9 @@ void AP_UAVCAN::init(uint8_t driver_index, bool enable_filters) @@ -342,7 +342,9 @@ void AP_UAVCAN::init(uint8_t driver_index, bool enable_filters)
#if AP_OPTICALFLOW_HEREFLOW_ENABLED
AP_OpticalFlow_HereFlow::subscribe_msgs(this);
#endif
#if AP_RANGEFINDER_UAVCAN_ENABLED
AP_RangeFinder_UAVCAN::subscribe_msgs(this);
#endif
#if HAL_EFI_ENABLED
AP_EFI_DroneCAN::subscribe_msgs(this);
#endif

Loading…
Cancel
Save