git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@933 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-09-18 22:56:32 +00:00
parent 5b23222095
commit 9669e9a643

View File

@ -139,6 +139,7 @@ void up_timerinit(void)
tmr_putreg32(LPC214X_PCLKFREQ/TICK_PER_SEC, LPC214X_TMR_MR0_OFFSET);
/* Reset timer counter regiser and interrupt on match */
mcr = tmr_getreg16(LPC214X_TMR_MCR_OFFSET);
mcr &= ~LPC214X_TMR_MCR_MR1I;
mcr |= (LPC214X_TMR_MCR_MR0I | LPC214X_TMR_MCR_MR0R);