diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon2/console/debugputs.c')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/console/debugputs.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/console/debugputs.c b/c/src/lib/libbsp/sparc/leon2/console/debugputs.c index fe9b3dde6d..c5919f275e 100644 --- a/c/src/lib/libbsp/sparc/leon2/console/debugputs.c +++ b/c/src/lib/libbsp/sparc/leon2/console/debugputs.c @@ -41,12 +41,12 @@ void console_outbyte_polled( { if ( port == 0 ) { while ( (LEON_REG.UART_Status_1 & LEON_REG_UART_STATUS_THE) == 0 ); - LEON_REG.UART_Channel_1 = (unsigned int) ch; - return; - } + LEON_REG.UART_Channel_1 = (unsigned int) ch; + return; + } - while ( (LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE) == 0 ); - LEON_REG.UART_Channel_2 = (unsigned int) ch; + while ( (LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE) == 0 ); + LEON_REG.UART_Channel_2 = (unsigned int) ch; } /* |