altos: Change default time type to 32-bits
[fw/altos] / src / attiny / ao_exti.c
index 0ca10ca4385b54976387f2d80e795a9193488c01..c5b7eb2b078380b531b200058e7dc3a0470a781d 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
@@ -30,6 +31,7 @@ ISR(PCINT0_vect)
 void
 ao_exti_setup_port(uint8_t pin, uint8_t mode, void (*callback)(void))
 {
+       (void) mode;
        pcint_callback = callback;
        pcint_mask = (1 << pin);
        ao_exti_disable(PORTB, pin);