aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f1/exti.c
diff options
context:
space:
mode:
authorUwe Hermann2011-11-16 19:31:47 +0100
committerUwe Hermann2011-11-17 00:09:27 +0100
commit8725bc51717cce5ac06cc49ab33416099eeca6b1 (patch)
tree06b94a8fc554474d87f19b68b3e1619705928472 /lib/stm32/f1/exti.c
parent6e7403f76943f97089e741100b32c2f0a4795a97 (diff)
lib/stm32/f1: Coding-style fixes.
Diffstat (limited to 'lib/stm32/f1/exti.c')
-rw-r--r--lib/stm32/f1/exti.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stm32/f1/exti.c b/lib/stm32/f1/exti.c
index e4e9748..eec4157 100644
--- a/lib/stm32/f1/exti.c
+++ b/lib/stm32/f1/exti.c
@@ -131,15 +131,15 @@ void exti_select_source(u32 exti, u32 gpioport)
/* Ensure that only valid EXTI lines are used. */
if (exti < EXTI4) {
AFIO_EXTICR1 &= ~(0x000F << shift);
- AFIO_EXTICR1 |= (~bits << shift);
+ AFIO_EXTICR1 |= (~bits << shift);
} else if (exti < EXTI8) {
AFIO_EXTICR2 &= ~(0x000F << shift);
- AFIO_EXTICR2 |= (~bits << shift);
+ AFIO_EXTICR2 |= (~bits << shift);
} else if (exti < EXTI12) {
AFIO_EXTICR3 &= ~(0x000F << shift);
- AFIO_EXTICR3 |= (~bits << shift);
+ AFIO_EXTICR3 |= (~bits << shift);
} else if (exti < EXTI16) {
AFIO_EXTICR4 &= ~(0x000F << shift);
- AFIO_EXTICR4 |= (~bits << shift);
+ AFIO_EXTICR4 |= (~bits << shift);
}
}