diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 11:40:32 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-05 11:40:32 +0000 |
commit | fcd74835fed679c5da34240ad23b0ba4f965fa3a (patch) | |
tree | 4417b81eb2ee0ef2cee28a59d8062458259a93ca /c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c | |
parent | 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-fcd74835fed679c5da34240ad23b0ba4f965fa3a.tar.bz2 |
Convert to "bool".
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/timer/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |