mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-06 20:39:14 +08:00
leon2/console/debugputs.c: Fix misleading indentation warning
This commit is contained in:
1 parent
fd48b43007
commit
3ed2cf6072
1 file changed
+5
-5
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user