diff options
Diffstat (limited to 'src/core/serial.c')
| -rw-r--r-- | src/core/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/serial.c b/src/core/serial.c index d0827481c..630403774 100644 --- a/src/core/serial.c +++ b/src/core/serial.c @@ -213,7 +213,7 @@ static void serial_init ( void ) { /* rx buffer reg * throw away (unconditionally the first time) */ - uart_readb(UART_BASE + UART_RBR); + (void) uart_readb(UART_BASE + UART_RBR); /* line status reg */ status = uart_readb(UART_BASE + UART_LSR); } while(status & UART_LSR_DR); |
