altos/attiny: Mark 'mode' param to ao_exti_setup_port as used
authorKeith Packard <keithp@keithp.com>
Mon, 18 Feb 2019 19:25:21 +0000 (11:25 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Feb 2019 21:08:23 +0000 (13:08 -0800)
Retain API.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/attiny/ao_exti.c

index 8ae1c4a..c5b7eb2 100644 (file)
@@ -31,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);