Corrected comment only.
This commit is contained in:
parent
d3890f9b32
commit
4ae25c865b
@ -79,7 +79,7 @@ void gpio_setup(void)
|
|||||||
|
|
||||||
void nvic_setup()
|
void nvic_setup()
|
||||||
{
|
{
|
||||||
/* without this the timer intterrupt routing will newer be called */
|
/* without this the timer interrupt routine will never be called */
|
||||||
nvic_enable_irq(NVIC_TIM2_IRQ);
|
nvic_enable_irq(NVIC_TIM2_IRQ);
|
||||||
nvic_set_priority(NVIC_TIM2_IRQ, 1);
|
nvic_set_priority(NVIC_TIM2_IRQ, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user