projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
data_interval == 0 means no data collection
[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 2491b609893607b2a340a455be93f59c513f860b..3a2748a9a8c5ea908f80d592008fe82f7ca5ff27 100644
(file)
--- a/
src/stm/ao_exti_stm.c
+++ b/
src/stm/ao_exti_stm.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;
}