From 3bd3c1e7e625318af8beff7ef58e1d8511cf497f Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 19 Nov 2014 22:42:17 -0500 Subject: stm32f1: gpio.h: silence yet more __always_inline warnings Signed-off-by: Marti Bolivar --- libmaple/stm32f1/include/series/gpio.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libmaple') diff --git a/libmaple/stm32f1/include/series/gpio.h b/libmaple/stm32f1/include/series/gpio.h index aecf911..b1340ea 100644 --- a/libmaple/stm32f1/include/series/gpio.h +++ b/libmaple/stm32f1/include/series/gpio.h @@ -482,9 +482,7 @@ typedef exti_num afio_exti_num; /** * @brief Deprecated. Use exti_select(exti, port) instead. */ -static __always_inline void afio_exti_select(exti_num exti, exti_cfg port) { - exti_select(exti, port); -} +#define afio_exti_select(exti, port) exti_select((exti), (port)) #ifdef __cplusplus } -- cgit v1.2.3