Restore lp_ticker_free to previous implementation when running with uvisor

This is a temporary patch until uvisor is removed
pull/7830/head
Oren Cohen 2018-08-20 13:20:45 +03:00
parent f15dbf2c3d
commit 795248bcaf
1 changed files with 2 additions and 0 deletions

View File

@ -120,8 +120,10 @@ void lp_ticker_clear_interrupt(void)
void lp_ticker_free(void)
{
#ifndef FEATURE_UVISOR
LPTMR_DisableInterrupts(LPTMR0, kLPTMR_TimerInterruptEnable);
NVIC_DisableIRQ(LPTMR0_IRQn);
#endif
}
#endif /* DEVICE_LPTICKER */