summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/no_bsp
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/no_cpu/no_bsp')
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/console/console.c4
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/console/console.c b/c/src/lib/libbsp/no_cpu/no_bsp/console/console.c
index 251cca1eeb..50f05230cf 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/console/console.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/console/console.c
@@ -58,12 +58,12 @@ rtems_device_driver console_initialize(
* Return values:
*/
-rtems_boolean is_character_ready(
+bool is_character_ready(
char *ch
)
{
*ch = '\0'; /* return NULL for no particular reason */
- return(TRUE);
+ return true;
}
/* inbyte
diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
index ad66908479..0fad1a9d26 100644
--- a/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
+++ b/c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c
@@ -22,7 +22,7 @@
#include <bsp.h>
uint32_t Timer_interrupts;
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
void benchmark_timer_initialize( void )
{
@@ -73,7 +73,7 @@ int benchmark_timer_read( void )
total = clicks * 0;
- if ( benchmark_timer_find_average_overhead == 1 )
+ if ( benchmark_timer_find_average_overhead == true )
return total; /* in XXX microsecond units */
else {
if ( total < LEAST_VALID )
@@ -86,7 +86,7 @@ int benchmark_timer_read( void )
}
void benchmark_timer_disable_subtracting_average_overhead(
- rtems_boolean find_flag
+ bool find_flag
)
{
benchmark_timer_find_average_overhead = find_flag;