From 9a836f1dbf90f07c2fc4151166f7456879d675b0 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 25 Jan 2011 04:16:01 +0100 Subject: Making the compiler a bitch by enabling warnings in full, fixing a few warnings, and making the board actually do slightly something. --- arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c') diff --git a/arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c b/arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c index 163cccd..8f8dc79 100644 --- a/arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c +++ b/arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c @@ -53,7 +53,7 @@ static uint32_t converPtrToTimeNum (LPC_TIM_TypeDef *TIMx); **********************************************************************/ static uint32_t getPClock (uint32_t timernum) { - uint32_t clkdlycnt; + uint32_t clkdlycnt = 0; switch (timernum) { case 0: -- cgit v1.2.3