Skip to content

Commit 96af5a4

Browse files
authored
Merge pull request #7830 from orenc17/K64_ticker_uvisor
Fix uvisor ticker issue on K64F
2 parents e43f020 + 795248b commit 96af5a4

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/api/lp_ticker.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ void lp_ticker_clear_interrupt(void)
120120

121121
void lp_ticker_free(void)
122122
{
123+
#ifndef FEATURE_UVISOR
123124
LPTMR_DisableInterrupts(LPTMR0, kLPTMR_TimerInterruptEnable);
124125
NVIC_DisableIRQ(LPTMR0_IRQn);
126+
#endif
125127
}
126128

127129
#endif /* DEVICE_LPTICKER */

0 commit comments

Comments
 (0)