Ignore:
Timestamp:
Sep 5, 2008, 5:47:15 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
bd66046
Parents:
f44b668
Message:

Convert to "bool".

File:
1 edited

Legend:

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

    rf44b668 r86432056  
    7272
    7373Ring_buffer_t  TX_Buffer[ 2 ];
    74 boolean        Is_TX_active[ 2 ];
     74bool           Is_TX_active[ 2 ];
    7575
    7676void *console_termios_data[ 2 ];
     
    111111      ERC32_MEC.UART_Channel_A = (uint32_t) ch;
    112112    } else
    113      Is_TX_active[ 0 ] = FALSE;
     113     Is_TX_active[ 0 ] = false;
    114114  }
    115115
     
    152152      ERC32_MEC.UART_Channel_B = (uint32_t) ch;
    153153    } else
    154      Is_TX_active[ 1 ] = FALSE;
     154     Is_TX_active[ 1 ] = false;
    155155  }
    156156
     
    229229  Ring_buffer_Initialize( &TX_Buffer[ 1 ] );
    230230
    231   Is_TX_active[ 0 ] = FALSE;
    232   Is_TX_active[ 1 ] = FALSE;
     231  Is_TX_active[ 0 ] = false;
     232  Is_TX_active[ 1 ] = false;
    233233
    234234  atexit( console_exit );
     
    264264   */
    265265
    266   if ( Is_TX_active[ port ] == FALSE ) {
    267     Is_TX_active[ port ] = TRUE;
     266  if ( Is_TX_active[ port ] == false ) {
     267    Is_TX_active[ port ] = true;
    268268    console_outbyte_polled( port, ch );
    269269    return;
Note: See TracChangeset for help on using the changeset viewer.