diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-29 11:37:18 -0500 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-12 18:23:46 -0800 |
commit | c08da91e832637e3197758f81128682f6fccf1bd (patch) | |
tree | a64580fa299b435db389741c8a31f918300c6f81 /firmware/microblaze/lib/hal_uart.c | |
parent | 096405b9291d1d3b3ac37d9768232cca43a37db6 (diff) | |
download | uhd-c08da91e832637e3197758f81128682f6fccf1bd.tar.gz uhd-c08da91e832637e3197758f81128682f6fccf1bd.tar.bz2 uhd-c08da91e832637e3197758f81128682f6fccf1bd.zip |
usrp-n: created cmake/zpu build for firmware
Diffstat (limited to 'firmware/microblaze/lib/hal_uart.c')
-rw-r--r-- | firmware/microblaze/lib/hal_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/hal_uart.c b/firmware/microblaze/lib/hal_uart.c index 7836240fe..f0921f4f0 100644 --- a/firmware/microblaze/lib/hal_uart.c +++ b/firmware/microblaze/lib/hal_uart.c @@ -113,7 +113,7 @@ hal_uart_getc_timeout(hal_uart_name_t u) int hal_uart_rx_flush(hal_uart_name_t u) { - char x; + char x = 0; while(uart_regs[u].rxlevel) x = uart_regs[u].rxchar; return x; } |