From 35e59002efb32ef4eda272a982ecae30636edc90 Mon Sep 17 00:00:00 2001 From: flyingcys <294102238@qq.com> Date: Fri, 23 Jun 2017 23:23:58 +0800 Subject: [PATCH] [bsp] fix bxcan.c inline bug --- bsp/stm32f10x/drivers/bxcan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsp/stm32f10x/drivers/bxcan.c b/bsp/stm32f10x/drivers/bxcan.c index 73ccb8fc0..5a3ad380d 100644 --- a/bsp/stm32f10x/drivers/bxcan.c +++ b/bsp/stm32f10x/drivers/bxcan.c @@ -20,7 +20,9 @@ #endif #ifdef RT_USING_CAN +#ifdef __CC_ARM #define inline __inline +#endif #ifndef STM32F10X_CL #define BX_CAN_FMRNUMBER 14 #define BX_CAN2_FMRSTART 7