Clear INTE at TIMER init.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14171 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
cinsights 2021-04-13 11:46:28 +00:00
parent 42d5fca126
commit ccec3b72d6
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ void st_lld_init(void) {
TIMER->ALARM[1] = 0U;
TIMER->ALARM[2] = 0U;
TIMER->ALARM[3] = 0U;
TIMER->INTE = 0U;
TIMER->INTR = TIMER_INTR_ALARM3 | TIMER_INTR_ALARM2 |
TIMER_INTR_ALARM1 | TIMER_INTR_ALARM0;