From c08da91e832637e3197758f81128682f6fccf1bd Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 29 Nov 2010 11:37:18 -0500 Subject: usrp-n: created cmake/zpu build for firmware --- firmware/microblaze/lib/hal_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/microblaze/lib/hal_uart.c') 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; } -- cgit v1.2.3