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/mrm332/timer/timer.c | |
parent | 2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-907bf4b86bacbc5c0775ef5d6e63f6d74bdb8376.tar.bz2 |
Convert to "bool".
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/mrm332/timer/timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/mrm332/timer/timer.c b/c/src/lib/libbsp/m68k/mrm332/timer/timer.c index 5dac6004ba..e0b8a29eeb 100644 --- a/c/src/lib/libbsp/m68k/mrm332/timer/timer.c +++ b/c/src/lib/libbsp/m68k/mrm332/timer/timer.c @@ -21,7 +21,7 @@ #include <bsp.h> -rtems_boolean benchmark_timer_find_average_overhead; +bool benchmark_timer_find_average_overhead; extern rtems_isr Clock_isr(void); @@ -54,7 +54,7 @@ int benchmark_timer_read( void ) uint32_t total; total = 0; - if ( benchmark_timer_find_average_overhead == 1 ) + if ( benchmark_timer_find_average_overhead == true ) return total; /* in XXX microsecond units */ if ( total < LEAST_VALID ) @@ -64,7 +64,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; |