aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2014-11-19 22:42:17 -0500
committerbnewbold <bnewbold@robocracy.org>2015-05-27 20:50:57 -0700
commit3bd3c1e7e625318af8beff7ef58e1d8511cf497f (patch)
tree871039a82811f12f7318689c3979db68406ae0d4 /libmaple/stm32f1
parentc21a588f565680d9bc1b22dff1177ca65c1b08e9 (diff)
downloadlibrambutan-3bd3c1e7e625318af8beff7ef58e1d8511cf497f.tar.gz
librambutan-3bd3c1e7e625318af8beff7ef58e1d8511cf497f.zip
stm32f1: gpio.h: silence yet more __always_inline warnings
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
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
}