projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/stmf0: Fix external interrupts
[fw/altos]
/
src
/
stmf0
/
ao_exti_stm.c
diff --git
a/src/stmf0/ao_exti_stm.c
b/src/stmf0/ao_exti_stm.c
index 906392e60f4ce0ce2f1985d5c520917f16cca6ed..910afcf7de8814e0897cd46d02bca3a481a66a15 100644
(file)
--- a/
src/stmf0/ao_exti_stm.c
+++ b/
src/stmf0/ao_exti_stm.c
@@
-110,7
+110,7
@@
ao_exti_set_mode(struct stm_gpio *gpio, uint8_t pin, uint8_t mode) {
(void) gpio;
uint32_t mask = 1 << pin;
-
+
if (mode & AO_EXTI_MODE_RISING)
stm_exti.rtsr |= mask;
else