TARGET_MCUXpresso_MCUS: fix lp ticker init function

In case when lp ticker is already initialized the ticker interrupt should be disabled.
pull/8827/head
Przemyslaw Stekiel 2018-11-21 08:11:19 +01:00
parent 9aef9d3661
commit f05d642422
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ void lp_ticker_init(void)
lp_ticker_inited = true;
} else {
LPTMR_DisableInterrupts(LPTMR0, kLPTMR_TimerInterruptEnable);
NVIC_EnableIRQ(LPTMR0_IRQn);
lp_ticker_disable_interrupt();
}
}