We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f553277 commit 3307098Copy full SHA for 3307098
targets/TARGET_NUVOTON/TARGET_NANO100/lp_ticker.c
@@ -222,6 +222,6 @@ static void lp_ticker_arm_cd(void)
222
TIMER_EnableWakeup((TIMER_T *) NU_MODBASE(timer3_modinit.modname));
223
// Wait 2 cycles of engine clock to ensure previous CTL write action is finish
224
wait_us(30 * 2);
225
- timer3_base->CTL = ctl_timer3 | TIMER_CTL_TMR_EN_Msk;
+ timer3_base->CTL |= ctl_timer3 | TIMER_CTL_TMR_EN_Msk;
226
}
227
#endif
0 commit comments