summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/erc32/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc/erc32/console/console.c')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/console/console.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/console/console.c b/c/src/lib/libbsp/sparc/erc32/console/console.c
index c7ec8a366a..ba6a737347 100644
--- a/c/src/lib/libbsp/sparc/erc32/console/console.c
+++ b/c/src/lib/libbsp/sparc/erc32/console/console.c
@@ -71,7 +71,7 @@ int console_inbyte_nonblocking( int port );
#include <rtems/ringbuf.h>
Ring_buffer_t TX_Buffer[ 2 ];
-boolean Is_TX_active[ 2 ];
+bool Is_TX_active[ 2 ];
void *console_termios_data[ 2 ];
@@ -110,7 +110,7 @@ rtems_isr console_isr_a(
Ring_buffer_Remove_character( &TX_Buffer[ 0 ], ch );
ERC32_MEC.UART_Channel_A = (uint32_t) ch;
} else
- Is_TX_active[ 0 ] = FALSE;
+ Is_TX_active[ 0 ] = false;
}
ERC32_Clear_interrupt( ERC32_INTERRUPT_UART_A_RX_TX );
@@ -151,7 +151,7 @@ rtems_isr console_isr_b(
Ring_buffer_Remove_character( &TX_Buffer[ 1 ], ch );
ERC32_MEC.UART_Channel_B = (uint32_t) ch;
} else
- Is_TX_active[ 1 ] = FALSE;
+ Is_TX_active[ 1 ] = false;
}
ERC32_Clear_interrupt( ERC32_INTERRUPT_UART_B_RX_TX );
@@ -228,8 +228,8 @@ void console_initialize_interrupts( void )
Ring_buffer_Initialize( &TX_Buffer[ 0 ] );
Ring_buffer_Initialize( &TX_Buffer[ 1 ] );
- Is_TX_active[ 0 ] = FALSE;
- Is_TX_active[ 1 ] = FALSE;
+ Is_TX_active[ 0 ] = false;
+ Is_TX_active[ 1 ] = false;
atexit( console_exit );
@@ -263,8 +263,8 @@ void console_outbyte_interrupt(
* If this is the first character then we need to prime the pump
*/
- if ( Is_TX_active[ port ] == FALSE ) {
- Is_TX_active[ port ] = TRUE;
+ if ( Is_TX_active[ port ] == false ) {
+ Is_TX_active[ port ] = true;
console_outbyte_polled( port, ch );
return;
}