Skip to content

Commit 5b9761e

Browse files
author
Cruz Monrreal
authored
Merge pull request #8827 from mprse/ticker_free_k64f_fix
TARGET_MCUXpresso_MCUS: fix lp ticker init function
2 parents 92a0e48 + f05d642 commit 5b9761e

File tree

1 file changed

+1
-2
lines changed
  • targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api

1 file changed

+1
-2
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/lp_ticker.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ void lp_ticker_init(void)
6868

6969
lp_ticker_inited = true;
7070
} else {
71-
LPTMR_DisableInterrupts(LPTMR0, kLPTMR_TimerInterruptEnable);
72-
NVIC_EnableIRQ(LPTMR0_IRQn);
71+
lp_ticker_disable_interrupt();
7372
}
7473
}
7574

0 commit comments

Comments
 (0)