AP_UAVCAN: allow rangefinder backends to be individually compiled in
This commit is contained in:
parent
71a4d24e72
commit
05131853d8
@ -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…
Reference in New Issue
Block a user