2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>

* timer/timer.c: Include <rtems/btimer.h>.
	Fix benchmark_timer_read() definition.
This commit is contained in:
Ralf Corsepius
2011-02-09 06:33:58 +00:00
parent b2b56cb985
commit ec54b2b5e8
6 changed files with 21 additions and 3 deletions

View File

@@ -21,6 +21,7 @@
#include <bsp.h>
#include <rtems/btimer.h>
#if defined(RTEMS_MULTIPROCESSING)
#define LEON3_TIMER_INDEX \
@@ -57,7 +58,7 @@ void benchmark_timer_initialize(void)
/* to start/stop the timer. */
#define LEAST_VALID 2 /* Don't trust a value lower than this */
int benchmark_timer_read(void)
uint32_t benchmark_timer_read(void)
{
uint32_t total;