summaryrefslogtreecommitdiff
path: root/arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 04:16:01 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 04:16:01 +0100
commit9a836f1dbf90f07c2fc4151166f7456879d675b0 (patch)
treebc7eec0850c1249c32465b41607a293c50eed44e /arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c
parentfcef19baed9cb5b040a3df0505e57710df20ee43 (diff)
Making the compiler a bitch by enabling warnings in full, fixing a few warnings, and making the board actually do slightly something.
Diffstat (limited to 'arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c')
-rw-r--r--arch/arm/lpc17xx/Drivers/source/lpc17xx_timer.c2
1 files changed, 1 insertions, 1 deletions
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: