projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fifo: Add casts to fifo operation macros for -Wconversion
[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 910a36f29221e0ab10e9d0536f88d3698e5d4a78..77c59d05ff2cebb72e0b3c503adb6a98ffc237a3 100644
(file)
--- a/
src/stmf0/ao_exti_stm.c
+++ b/
src/stmf0/ao_exti_stm.c
@@
-123,7
+123,7
@@
ao_exti_set_mode(struct stm_gpio *gpio, uint8_t pin, uint8_t mode) {
}
void
-ao_exti_set_callback(struct stm_gpio *gpio, uint8_t pin, void (*callback)()) {
+ao_exti_set_callback(struct stm_gpio *gpio, uint8_t pin, void (*callback)(
void
)) {
(void) gpio;
ao_exti_callback[pin] = callback;
}