Systick Interrupt should never be activated using NVIC_EnableIRQ because it's an system exception (#850)
This commit is contained in:
@@ -48,5 +48,4 @@ void mstimer_init(void)
|
||||
/* config error? return 1 = failed, 0 = successful */
|
||||
}
|
||||
}
|
||||
NVIC_EnableIRQ(SysTick_IRQn);
|
||||
}
|
||||
|
||||
@@ -50,5 +50,4 @@ void mstimer_init(void)
|
||||
/* config error? return 1 = failed, 0 = successful */
|
||||
}
|
||||
}
|
||||
NVIC_EnableIRQ(SysTick_IRQn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user