first cut at turnon scripts for EasyTimer v2
[fw/altos] / src / lpc / ao_exti.h
index e8599eb436db9221e2e4aff7e77846e29d2ce64a..226979bc36c3c83755bb63920adf672bd1b9f065 100644 (file)
@@ -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
 #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);