summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/idp/timer/timer.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 08:46:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 08:46:27 +0000
commit907bf4b86bacbc5c0775ef5d6e63f6d74bdb8376 (patch)
tree415100452c918992e0ef8f5dd8617b4fba665ced /c/src/lib/libbsp/m68k/idp/timer/timer.c
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-907bf4b86bacbc5c0775ef5d6e63f6d74bdb8376.tar.bz2
Convert to "bool".
Diffstat (limited to 'c/src/lib/libbsp/m68k/idp/timer/timer.c')
-rw-r--r--c/src/lib/libbsp/m68k/idp/timer/timer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/idp/timer/timer.c b/c/src/lib/libbsp/m68k/idp/timer/timer.c
index 61d17f2686..a9aaa7f9df 100644
--- a/c/src/lib/libbsp/m68k/idp/timer/timer.c
+++ b/c/src/lib/libbsp/m68k/idp/timer/timer.c
@@ -32,7 +32,7 @@
#define TIMER_VECTOR 0x4D
int Ttimer_val;
-rtems_boolean benchmark_timer_find_average_overhead;
+bool benchmark_timer_find_average_overhead;
rtems_isr timerisr(void);
@@ -93,7 +93,7 @@ int benchmark_timer_read(void)
MC68230_WRITE (MC68230_TCR, 0xA1);
/* do not restore old vector */
- if ( benchmark_timer_find_average_overhead == 1 )
+ if ( benchmark_timer_find_average_overhead == true )
return total; /* in countdown units */
if ( total < LEAST_VALID )
@@ -106,7 +106,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;