From: Christian Lamparter Date: Thu, 17 Jan 2013 22:28:36 +0000 (+0100) Subject: carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG_UART compile error X-Git-Tag: 1.9.8~21 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5bb3b65c2625d1465c8187e20f59b690be93a0c5;p=carl9170fw.git carl9170 firmware: fix CONFIG_CARL9170FW_DEBUG_UART compile error uart.c:36:9: error: ‘AR9170_UART_LINE_STS_TX_FIFO_ALMOST_EMPTY’ undeclared Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/uart.c b/carlfw/src/uart.c index 58f6486..919e683 100644 --- 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 */