diff --git a/libraries/AP_HAL/AP_HAL_Boards.h b/libraries/AP_HAL/AP_HAL_Boards.h index 3484872c4d..71bdf2019c 100644 --- a/libraries/AP_HAL/AP_HAL_Boards.h +++ b/libraries/AP_HAL/AP_HAL_Boards.h @@ -227,7 +227,7 @@ #define HAL_HAVE_DUAL_USB_CDC 0 #endif -#if HAL_WITH_UAVCAN && !HAL_MINIMIZE_FEATURES && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS +#if HAL_WITH_UAVCAN && CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS #define AP_UAVCAN_SLCAN_ENABLED 1 #else #define AP_UAVCAN_SLCAN_ENABLED 0