X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fuart.c;h=2a0a76a5ee1a57c3253644bd5087fc174d621d5d;hb=HEAD;hp=58f64866bae04352e09239c9c14045df68e35e16;hpb=12d3f1ba6ba522cd1ef11483d813fe2c2e64f04b;p=carl9170fw.git diff --git a/carlfw/src/uart.c b/carlfw/src/uart.c index 58f6486..2a0a76a 100644 --- a/carlfw/src/uart.c +++ b/carlfw/src/uart.c @@ -19,8 +19,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #include "carl9170.h" @@ -33,7 +32,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 */