diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2014-11-19 22:42:17 -0500 |
---|---|---|
committer | bryan newbold <bnewbold@twinleaf.com> | 2014-11-24 15:18:35 -0800 |
commit | ca10140f4630ace9446ea333a265f59d59075b47 (patch) | |
tree | 3ea0ef29961e227e7caf760465fd1595ed66029a /libmaple/stm32f1/include | |
parent | 53972f12b69a4979fb2f09d05c6661702eddf952 (diff) | |
download | librambutan-ca10140f4630ace9446ea333a265f59d59075b47.tar.gz librambutan-ca10140f4630ace9446ea333a265f59d59075b47.zip |
stm32f1: gpio.h: silence yet more __always_inline warnings
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/stm32f1/include')
-rw-r--r-- | libmaple/stm32f1/include/series/gpio.h | 4 |
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 } |