[bsp] Prevent compilation errors in bxcan.c when using STM32F10X_LD_VL,STM32F10X_MD_VL,STM32F10X_HD_VL incorrectly choose to use the RT_USING_CAN.
This commit is contained in:
parent
2569f66df8
commit
e84bad92ee
@ -16,6 +16,10 @@
|
||||
#include <board.h>
|
||||
#include <bxcan.h>
|
||||
|
||||
#if (defined (STM32F10X_LD_VL)) || (defined (STM32F10X_MD_VL)) || (defined (STM32F10X_HD_VL))
|
||||
#undef RT_USING_CAN
|
||||
#endif
|
||||
|
||||
#ifdef RT_USING_COMPONENTS_INIT
|
||||
#include <components.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user