projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16d1e3
)
altos/lpc: Fix stdio wakeup on serial IRQ
author
Keith Packard
<keithp@keithp.com>
Sun, 5 Aug 2018 04:19:59 +0000
(12:19 +0800)
committer
Keith Packard
<keithp@keithp.com>
Wed, 15 Aug 2018 22:40:15 +0000
(15:40 -0700)
Should just use USE_SERIAL_0_STDIN directly
Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_serial_lpc.c
patch
|
blob
|
history
diff --git
a/src/lpc/ao_serial_lpc.c
b/src/lpc/ao_serial_lpc.c
index 0011744d2e931258e1c76898d2a2a8f7e8e86cc4..d5cf930af949076bf2829c489f69ee2ea001178b 100644
(file)
--- a/
src/lpc/ao_serial_lpc.c
+++ b/
src/lpc/ao_serial_lpc.c
@@
-66,8
+66,9
@@
lpc_usart_isr(void)
}
if (wake_input) {
ao_wakeup(&ao_usart_rx_fifo);
- if (stdin)
- ao_wakeup(&ao_stdin_ready);
+#if USE_SERIAL_0_STDIN
+ ao_wakeup(&ao_stdin_ready);
+#endif
}
}