From e38e1a2f735a1bb4aebf0817cdd99a05567c6340 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 18 Mar 2019 17:20:14 -0700 Subject: altos/stm32f4: Wrong value for CK48MSEL_PLL_Q This meant that the USB clock wasn't actually getting started... Signed-off-by: Keith Packard --- src/stm32f4/ao_exti_stm32f4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stm32f4/ao_exti_stm32f4.c') 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; } -- cgit v1.2.3