diff --git a/bsp/stm32f10x/drivers/bxcan.c b/bsp/stm32f10x/drivers/bxcan.c index 29c1eaeac7451ff7c3efee7482b45571f80f7ed9..876848df4cc928647f68de7a6dbe9fbfe27ae0d3 100644 --- a/bsp/stm32f10x/drivers/bxcan.c +++ b/bsp/stm32f10x/drivers/bxcan.c @@ -16,6 +16,10 @@ #include #include +#if (defined (STM32F10X_LD_VL)) || (defined (STM32F10X_MD_VL)) || (defined (STM32F10X_HD_VL)) +#undef RT_USING_CAN +#endif + #ifdef RT_USING_COMPONENTS_INIT #include #endif