diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 08:46:27 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 08:46:27 +0000 |
commit | 907bf4b86bacbc5c0775ef5d6e63f6d74bdb8376 (patch) | |
tree | 415100452c918992e0ef8f5dd8617b4fba665ced /c/src/lib/libbsp/m68k/gen68302/console | |
parent | 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-907bf4b86bacbc5c0775ef5d6e63f6d74bdb8376.tar.bz2 |
Convert to "bool".
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68302/console')
-rw-r--r-- | c/src/lib/libbsp/m68k/gen68302/console/console.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68302/console/console.c b/c/src/lib/libbsp/m68k/gen68302/console/console.c index 8e98d42ec2..3d4ac030f5 100644 --- a/c/src/lib/libbsp/m68k/gen68302/console/console.c +++ b/c/src/lib/libbsp/m68k/gen68302/console/console.c @@ -104,7 +104,7 @@ rtems_device_driver console_initialize( * FALSE - no character available */ -rtems_boolean is_character_ready( +bool is_character_ready( char *ch /* -> character */ ) { @@ -113,12 +113,12 @@ rtems_boolean is_character_ready( for (;;) { if (RXS & RBIT_HDLC_EMPTY_BIT) - return FALSE; + return false; *ch = RXD; RXS = RBIT_HDLC_EMPTY_BIT | RBIT_HDLC_WRAP_BIT; if ( *ch >= ' ' && *ch <= '~' ) - return TRUE; + return true; } } |