diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-24 11:16:37 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-24 12:00:58 -0500 |
commit | 3ed2cf607272c1566fedfc2b42fa1fccef7f7ef3 (patch) | |
tree | b6fe02a7070d52d914c74245dbfb1a64a8153f8d | |
parent | virtex5/startup/dummy_console.c: Fix no prototype warning (diff) | |
download | rtems-3ed2cf607272c1566fedfc2b42fa1fccef7f7ef3.tar.bz2 |
leon2/console/debugputs.c: Fix misleading indentation warning
-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; } /* |