projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: Clip accelerometer-based speed to >= 0
[fw/altos]
/
src
/
stm32f4
/
ao_exti_stm32f4.c
diff --git
a/src/stm32f4/ao_exti_stm32f4.c
b/src/stm32f4/ao_exti_stm32f4.c
index 1e288f9c6ef5b4b1308782a6498105c0f3b5d81b..900fe90318623635436dd18229567c839d4ad1f8 100644
(file)
--- a/
src/stm32f4/ao_exti_stm32f4.c
+++ b/
src/stm32f4/ao_exti_stm32f4.c
@@
-135,7
+135,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;
}