projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b149f6
)
carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG_UART compile error
author
Christian Lamparter
<chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:28:36 +0000
(23:28 +0100)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Thu, 17 Jan 2013 22:28:36 +0000
(23:28 +0100)
uart.c:36:9: error: ‘AR9170_UART_LINE_STS_TX_FIFO_ALMOST_EMPTY’ undeclared
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/uart.c
patch
|
blob
|
history
diff --git
a/carlfw/src/uart.c
b/carlfw/src/uart.c
index 58f64866bae04352e09239c9c14045df68e35e16..919e6835de633b6ae9ce70b96f93cfa6d239cde3 100644
(file)
--- a/
carlfw/src/uart.c
+++ b/
carlfw/src/uart.c
@@
-33,7
+33,7
@@
void uart_putc(const char c)
set(AR9170_UART_REG_TX_HOLDING, c);
while (get(AR9170_UART_REG_LINE_STATUS) &
- AR9170_UART_LINE_STS_TX_FIFO_
ALMOST
_EMPTY) {
+ AR9170_UART_LINE_STS_TX_FIFO_
NEAR
_EMPTY) {
/*
* wait until the byte has made it
*/