fix accidence delete pwm trigger for tone #69
This commit is contained in:
1 parent
724d73b65e
commit
1f433a9a1f
1 file changed
+2
@@ -118,6 +118,8 @@ void tone(uint8_t pin, unsigned int frequency, unsigned long duration)
|
||||
NVIC_SetPriority(IntNo, 6); //low priority
|
||||
NVIC_ClearPendingIRQ(IntNo);
|
||||
NVIC_EnableIRQ(IntNo);
|
||||
|
||||
nrf_pwm_task_trigger(PWMInstance, NRF_PWM_TASK_SEQSTART0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user