From c06d0cda300d51989f86aebad18fe3175d488404 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 1 Oct 2022 16:56:01 +1000 Subject: [PATCH] AP_UAVCAN: correct compilation with EFI dronecan not compiled in --- libraries/AP_UAVCAN/AP_UAVCAN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_UAVCAN/AP_UAVCAN.cpp b/libraries/AP_UAVCAN/AP_UAVCAN.cpp index 3db585ccbe..363aaa9d11 100644 --- a/libraries/AP_UAVCAN/AP_UAVCAN.cpp +++ b/libraries/AP_UAVCAN/AP_UAVCAN.cpp @@ -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