X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Flpc%2Fao_exti.h;h=226979bc36c3c83755bb63920adf672bd1b9f065;hb=efc2c093819b3ec2e5743126efb76d3a9c0ad231;hp=e8599eb436db9221e2e4aff7e77846e29d2ce64a;hpb=27e9b93f3d35890a49575b2ead1983ce3c2fc213;p=fw%2Faltos diff --git a/src/lpc/ao_exti.h b/src/lpc/ao_exti.h index e8599eb4..226979bc 100644 --- a/src/lpc/ao_exti.h +++ b/src/lpc/ao_exti.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -28,13 +29,13 @@ #define AO_EXTI_PIN_NOCONFIGURE 64 void -ao_exti_setup(uint8_t gpio, uint8_t pin, uint8_t mode, void (*callback)()); +ao_exti_setup(uint8_t gpio, uint8_t pin, uint8_t mode, void (*callback)(void)); void ao_exti_set_mode(uint8_t gpio, uint8_t pin, uint8_t mode); void -ao_exti_set_callback(uint8_t gpio, uint8_t pin, void (*callback)()); +ao_exti_set_callback(uint8_t gpio, uint8_t pin, void (*callback)(void)); void ao_exti_enable(uint8_t gpio, uint8_t pin);