leon2/console/debugputs.c: Fix misleading indentation warning

This commit is contained in:
Joel Sherrill
2017-04-24 11:16:37 -05:00
parent fd48b43007
commit 3ed2cf6072

View File

@@ -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;
}
/*