diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-09 08:38:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-09 08:38:15 +0000 |
commit | d085040aef952f77797a4852e1e618eee1ede644 (patch) | |
tree | 7837cfb826f102edeefae870797f3cf9e7ed77c8 /c/src/lib/libbsp/m68k/uC5282/timer/timer.c | |
parent | 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d085040aef952f77797a4852e1e618eee1ede644.tar.bz2 |
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
Diffstat (limited to 'c/src/lib/libbsp/m68k/uC5282/timer/timer.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/uC5282/timer/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/uC5282/timer/timer.c b/c/src/lib/libbsp/m68k/uC5282/timer/timer.c index 47c1b55a13..6a926438da 100644 --- a/c/src/lib/libbsp/m68k/uC5282/timer/timer.c +++ b/c/src/lib/libbsp/m68k/uC5282/timer/timer.c @@ -15,6 +15,7 @@ #include <rtems.h> #include <bsp.h> +#include <rtems/btimer.h> void benchmark_timer_initialize(void) @@ -34,7 +35,7 @@ benchmark_timer_initialize(void) /* * Return timer value in microsecond units */ -int +uint32_t benchmark_timer_read(void) { return MCF5282_TIMER3_DTCN; |