projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
48f996a
)
altos: lpc exti setup was incorrectly testing mode
author
Keith Packard
<keithp@keithp.com>
Sat, 21 Dec 2013 07:00:43 +0000
(23:00 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sat, 21 Dec 2013 07:00:43 +0000
(23:00 -0800)
Check for NOCONFIGURE bit was missing parens
Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_exti_lpc.c
patch
|
blob
|
history
diff --git
a/src/lpc/ao_exti_lpc.c
b/src/lpc/ao_exti_lpc.c
index 588cf58c5c7ee81688031002e31717ae5352423d..941aa965dde3d7b8c7723c6aad94e16544dd31a9 100644
(file)
--- a/
src/lpc/ao_exti_lpc.c
+++ b/
src/lpc/ao_exti_lpc.c
@@
-91,7
+91,7
@@
ao_exti_setup (uint8_t port, uint8_t pin, uint8_t mode, void (*callback)(void))
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();