[bsp] fix bxcan.c inline bug

This commit is contained in:
flyingcys 2017-06-23 23:23:58 +08:00
parent 8437c049e6
commit 35e59002ef
1 changed files with 2 additions and 0 deletions

View File

@ -20,7 +20,9 @@
#endif #endif
#ifdef RT_USING_CAN #ifdef RT_USING_CAN
#ifdef __CC_ARM
#define inline __inline #define inline __inline
#endif
#ifndef STM32F10X_CL #ifndef STM32F10X_CL
#define BX_CAN_FMRNUMBER 14 #define BX_CAN_FMRNUMBER 14
#define BX_CAN2_FMRSTART 7 #define BX_CAN2_FMRSTART 7