[NANO130] Fix lp_ticker wake-up is incorrectly disabled

pull/5157/head
ccli8 2017-09-18 15:05:44 +08:00
parent f553277198
commit 33070988de
1 changed files with 1 additions and 1 deletions

View File

@ -222,6 +222,6 @@ static void lp_ticker_arm_cd(void)
TIMER_EnableWakeup((TIMER_T *) NU_MODBASE(timer3_modinit.modname));
// Wait 2 cycles of engine clock to ensure previous CTL write action is finish
wait_us(30 * 2);
timer3_base->CTL = ctl_timer3 | TIMER_CTL_TMR_EN_Msk;
timer3_base->CTL |= ctl_timer3 | TIMER_CTL_TMR_EN_Msk;
}
#endif