aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f2/exti.c
diff options
context:
space:
mode:
authorUwe Hermann2011-11-16 19:37:23 +0100
committerUwe Hermann2011-11-17 00:09:27 +0100
commit50f680f3f72badf0391c79d9a5071b759ab4ce98 (patch)
tree890956f082897a30cef3332079fd86148ca38a1d /lib/stm32/f2/exti.c
parent8725bc51717cce5ac06cc49ab33416099eeca6b1 (diff)
lib/stm32/f2: Coding-style fixes.
Diffstat (limited to 'lib/stm32/f2/exti.c')
-rw-r--r--lib/stm32/f2/exti.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stm32/f2/exti.c b/lib/stm32/f2/exti.c
index 1db9ad7..3a12077 100644
--- a/lib/stm32/f2/exti.c
+++ b/lib/stm32/f2/exti.c
@@ -132,15 +132,15 @@ void exti_select_source(u32 exti, u32 gpioport)
/* Ensure that only valid EXTI lines are used. */
if (exti < EXTI4) {
SYSCFG_EXTICR1 &= ~(0x000F << shift);
- SYSCFG_EXTICR1 |= (~bits << shift);
+ SYSCFG_EXTICR1 |= (~bits << shift);
} else if (exti < EXTI8) {
SYSCFG_EXTICR2 &= ~(0x000F << shift);
- SYSCFG_EXTICR2 |= (~bits << shift);
+ SYSCFG_EXTICR2 |= (~bits << shift);
} else if (exti < EXTI12) {
SYSCFG_EXTICR3 &= ~(0x000F << shift);
- SYSCFG_EXTICR3 |= (~bits << shift);
+ SYSCFG_EXTICR3 |= (~bits << shift);
} else if (exti < EXTI16) {
SYSCFG_EXTICR4 &= ~(0x000F << shift);
- SYSCFG_EXTICR4 |= (~bits << shift);
+ SYSCFG_EXTICR4 |= (~bits << shift);
}
}