timer interrupt now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1791 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9d329e414a
commit
318b2b512b
@ -129,7 +129,7 @@ void up_timerinit(void)
|
|||||||
|
|
||||||
/* Attach the timer interrupt vector */
|
/* Attach the timer interrupt vector */
|
||||||
|
|
||||||
(void)irq_attach(LMSB_IRQ_SYSTICK, (xcpt_t)up_timerisr);
|
(void)irq_attach(LM3S_IRQ_SYSTICK, (xcpt_t)up_timerisr);
|
||||||
|
|
||||||
/* Enable SysTick interrupts */
|
/* Enable SysTick interrupts */
|
||||||
|
|
||||||
@ -137,5 +137,5 @@ void up_timerinit(void)
|
|||||||
|
|
||||||
/* And enable the timer interrupt */
|
/* And enable the timer interrupt */
|
||||||
|
|
||||||
up_enable_irq(LMSB_IRQ_SYSTICK);
|
up_enable_irq(LM3S_IRQ_SYSTICK);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user