summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/timer
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 11:55:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-05 11:55:58 +0000
commit3551166d7b747c5efbd1659e453493f4e0e0e93b (patch)
tree03c44c6a2ee2837004d8028d281a62c34fdad50a /c/src/lib/libbsp/powerpc/score603e/timer
parent2008-09-05 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3551166d7b747c5efbd1659e453493f4e0e0e93b.tar.bz2
Convert to "bool".
Diffstat (limited to 'c/src/lib/libbsp/powerpc/score603e/timer')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/timer/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/timer/timer.c b/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
index 09e569aaf3..4e5c06c232 100644
--- a/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
+++ b/c/src/lib/libbsp/powerpc/score603e/timer/timer.c
@@ -61,7 +61,7 @@ int benchmark_timer_read()
total = (uint32_t) total64;
- if ( benchmark_timer_find_average_overhead == 1 )
+ if ( benchmark_timer_find_average_overhead == true )
return total; /* in "clicks" of the decrementer units */
if ( total < BSP_TIMER_LEAST_VALID )