From 3ed2cf607272c1566fedfc2b42fa1fccef7f7ef3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 24 Apr 2017 11:16:37 -0500 Subject: leon2/console/debugputs.c: Fix misleading indentation warning --- c/src/lib/libbsp/sparc/leon2/console/debugputs.c | 10 +++++----- 1 file 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; } /* -- cgit v1.2.3