altos: ADS124S0X driver compiles now
[fw/altos] / src / stm / ao_exti_stm.c
index 3e0b3e5c84e29953833bdf235503c68932504f98..3a2748a9a8c5ea908f80d592008fe82f7ca5ff27 100644 (file)
@@ -123,7 +123,7 @@ ao_exti_set_mode(struct stm_gpio *gpio, uint8_t pin, uint8_t mode) {
        (void) gpio;
 
        uint32_t        mask = 1 << pin;
-       
+
        if (mode & AO_EXTI_MODE_RISING)
                stm_exti.rtsr |= mask;
        else
@@ -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;
 }