projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Fix new GCC warnings
[fw/altos]
/
src
/
stm
/
ao_exti_stm.c
diff --git
a/src/stm/ao_exti_stm.c
b/src/stm/ao_exti_stm.c
index 3e0b3e5c84e29953833bdf235503c68932504f98..2491b609893607b2a340a455be93f59c513f860b 100644
(file)
--- a/
src/stm/ao_exti_stm.c
+++ b/
src/stm/ao_exti_stm.c
@@
-123,7
+123,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