Changeset 3ed2cf60 in rtems


Ignore:
Timestamp:
Apr 24, 2017, 4:16:37 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
2808c26
Parents:
fd48b43
git-author:
Joel Sherrill <joel@…> (04/24/17 16:16:37)
git-committer:
Joel Sherrill <joel@…> (04/24/17 17:00:58)
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/console/debugputs.c

    rfd48b43 r3ed2cf60  
    4242  if ( port == 0 ) {
    4343    while ( (LEON_REG.UART_Status_1 & LEON_REG_UART_STATUS_THE) == 0 );
    44       LEON_REG.UART_Channel_1 = (unsigned int) ch;
    45       return;
    46     }
     44    LEON_REG.UART_Channel_1 = (unsigned int) ch;
     45    return;
     46  }
    4747
    48     while ( (LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE) == 0 );
    49     LEON_REG.UART_Channel_2 = (unsigned int) ch;
     48  while ( (LEON_REG.UART_Status_2 & LEON_REG_UART_STATUS_THE) == 0 );
     49  LEON_REG.UART_Channel_2 = (unsigned int) ch;
    5050}
    5151
Note: See TracChangeset for help on using the changeset viewer.