aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/stm32f1')
-rw-r--r--libmaple/stm32f1/include/series/gpio.h4
1 files changed, 1 insertions, 3 deletions
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
}