diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-09 11:41:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-02-09 11:41:54 +0000 |
commit | 2c4cae4bf364b8bdcaacea55cd5a9d47a0d8a9e1 (patch) | |
tree | 4327f9a403c41919ddd59e0b146ea05fbe5941ae /c/src/lib/libbsp/arm/lpc24xx/misc/timer.c | |
parent | 2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-2c4cae4bf364b8bdcaacea55cd5a9d47a0d8a9e1.tar.bz2 |
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* misc/timer.c: Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/lpc24xx/misc/timer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/misc/timer.c b/c/src/lib/libbsp/arm/lpc24xx/misc/timer.c index 73ec32693e..dd2866b3b5 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/misc/timer.c +++ b/c/src/lib/libbsp/arm/lpc24xx/misc/timer.c @@ -20,11 +20,13 @@ */ #include <rtems.h> +#include <bsh.h> +#include <rtems/btimer.h> #include <rtems/timerdrv.h> #include <bsp/system-clocks.h> -static bool benchmark_timer_find_average_overhead = false; +bool benchmark_timer_find_average_overhead = false; static uint32_t benchmark_timer_base; |