summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
48f996a)
Check for NOCONFIGURE bit was missing parens
Signed-off-by: Keith Packard <keithp@keithp.com>
if (pint == LPC_NUM_PINT)
ao_panic(AO_PANIC_EXTI);
if (pint == LPC_NUM_PINT)
ao_panic(AO_PANIC_EXTI);
- if (!mode & AO_EXTI_PIN_NOCONFIGURE)
+ if (!(mode & AO_EXTI_PIN_NOCONFIGURE))
ao_enable_input(port, pin, mode);
ao_arch_block_interrupts();
ao_enable_input(port, pin, mode);
ao_arch_block_interrupts();