From 9b1c919e62c85b1ed7f24c9c6ed7adc4369956a0 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 27 Aug 2008 11:18:36 +0000 Subject: Remove broken bool implementation. Remove unused vars. --- c/src/lib/libcpu/arm/lpc22xx/timer/timer.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'c/src/lib/libcpu') 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 -- cgit v1.2.3