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/leon2/console/console.c

    rf44b668 r86432056  
    7373 
    7474Ring_buffer_t  TX_Buffer[ 2 ];
    75 boolean        Is_TX_active[ 2 ];
     75bool           Is_TX_active[ 2 ];
    7676 
    7777void *console_termios_data[ 2 ];
     
    111111      LEON_REG.UART_Channel_1 = (uint32_t) ch;
    112112    } else
    113      Is_TX_active[ 0 ] = FALSE;
     113     Is_TX_active[ 0 ] = false;
    114114  }
    115115 
     
    151151      LEON_REG.UART_Channel_2 = (uint32_t) ch;
    152152    } else
    153      Is_TX_active[ 1 ] = FALSE;
     153     Is_TX_active[ 1 ] = false;
    154154  }
    155155
     
    234234  Ring_buffer_Initialize( &TX_Buffer[ 1 ] );
    235235
    236   Is_TX_active[ 0 ] = FALSE;
    237   Is_TX_active[ 1 ] = FALSE;
     236  Is_TX_active[ 0 ] = false;
     237  Is_TX_active[ 1 ] = false;
    238238
    239239  atexit( console_exit );
     
    272272   */
    273273
    274   if ( Is_TX_active[ port ] == FALSE ) {
    275     Is_TX_active[ port ] = TRUE;
     274  if ( Is_TX_active[ port ] == false ) {
     275    Is_TX_active[ port ] = true;
    276276    console_outbyte_polled( port, ch );
    277277    return;
Note: See TracChangeset for help on using the changeset viewer.