diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-27 11:18:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-27 11:18:36 +0000 |
commit | 9b1c919e62c85b1ed7f24c9c6ed7adc4369956a0 (patch) | |
tree | cd5c05d41dedb989802bfe19d9195f180f57d6ea /c/src/lib/libcpu | |
parent | 2008-08-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-9b1c919e62c85b1ed7f24c9c6ed7adc4369956a0.tar.bz2 |
Remove broken bool implementation.
Remove unused vars.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r-- | c/src/lib/libcpu/arm/lpc22xx/timer/timer.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c b/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c index 50082a6f7a..f0bf7cab96 100644 --- a/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c +++ b/c/src/lib/libcpu/arm/lpc22xx/timer/timer.c @@ -29,13 +29,6 @@ uint32_t g_start; uint32_t g_freq; -#ifndef __cplusplus -#define bool int -#define true 1 -#define false 0 - -#endif/* __cplusplus */ - rtems_boolean Timer_driver_Find_average_overhead; @@ -64,9 +57,6 @@ void Timer_initialize( void ) int Read_timer( void ) { - uint32_t t; - unsigned long long total; - return (T0TC/(LPC22xx_Fpclk/1000000)); /* * Total is calculated by taking into account the number of timer overflow |