提交 e84bad92 编写于 作者: B bupleurum

[bsp] Prevent compilation errors in bxcan.c when using...

[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.
上级 2569f66d
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
#include <board.h> #include <board.h>
#include <bxcan.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 #ifdef RT_USING_COMPONENTS_INIT
#include <components.h> #include <components.h>
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册