mirror of https://github.com/ArduPilot/ardupilot
AP_UAVCAN: correct compilation with EFI dronecan not compiled in
This commit is contained in:
parent
e829595594
commit
c06d0cda30
|
@ -352,7 +352,7 @@ void AP_UAVCAN::init(uint8_t driver_index, bool enable_filters)
|
|||
#if AP_RANGEFINDER_UAVCAN_ENABLED
|
||||
AP_RangeFinder_UAVCAN::subscribe_msgs(this);
|
||||
#endif
|
||||
#if HAL_EFI_ENABLED
|
||||
#if HAL_EFI_DRONECAN_ENABLED
|
||||
AP_EFI_DroneCAN::subscribe_msgs(this);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue