summaryrefslogtreecommitdiff
path: root/src/stm32f4/ao_exti_stm32f4.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-03-18 17:20:14 -0700
committerKeith Packard <keithp@keithp.com>2019-03-18 17:22:22 -0700
commite38e1a2f735a1bb4aebf0817cdd99a05567c6340 (patch)
treeab2cbe696e8e023ae637a3601f9332ad3bcc46b5 /src/stm32f4/ao_exti_stm32f4.c
parent65be5d1e07ff4ae619233f3b541b9599c44490ab (diff)
altos/stm32f4: Wrong value for CK48MSEL_PLL_Q
This meant that the USB clock wasn't actually getting started... Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm32f4/ao_exti_stm32f4.c')
-rw-r--r--src/stm32f4/ao_exti_stm32f4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32f4/ao_exti_stm32f4.c b/src/stm32f4/ao_exti_stm32f4.c
index 1e288f9c..900fe903 100644
--- 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;
}