Remove broken bool implementation.

Remove unused vars.
This commit is contained in:
Ralf Corsepius
2008-08-27 11:18:36 +00:00
parent 2a620dbbfd
commit 9b1c919e62

View File

@@ -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