diff options
author | Keith Packard <keithp@keithp.com> | 2019-02-18 11:25:21 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
commit | 889518aeee080b0f8bb954db86d08105898d8161 (patch) | |
tree | 4c0f2e54ad369a9eca3021bbddd87d9438dfd76b | |
parent | a12dc56db6d5245ee8ac594337576dd85791a984 (diff) |
altos/attiny: Mark 'mode' param to ao_exti_setup_port as used
Retain API.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/attiny/ao_exti.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attiny/ao_exti.c b/src/attiny/ao_exti.c index 8ae1c4a0..c5b7eb2b 100644 --- a/src/attiny/ao_exti.c +++ b/src/attiny/ao_exti.c @@ -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); |