daniel-p-carvalho opened a new pull request #4284:
URL: https://github.com/apache/incubator-nuttx/pull/4284
## Summary
Fix a problem that happens when we try to stop and restart a PWM signal. The
problem seems to be related with pwm_stop() function. This function set PWM
frequency to zero and reset TIMER peripheral to it's default state. From my
understanding the pwm_start() funtion is not able to reconfigure the timer to a
functional state. So I change this function to disable the timer and timer
outputs.
## Impact
This change may break stm32_pwm driver.
## Testing
Tested on:
- nucleo-g431:pwm
- stm32f334-disco:powerled
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]