lucasssvaz opened a new pull request, #1833:
URL: https://github.com/apache/nuttx-apps/pull/1833

   ## Summary
   
   This commit fixes the overflow that happens when setting the duty cycle to 
100% in the PWM example. It now correctly passes the value `0xffff` rather than 
`0x0000` when setting the duty cycle to 100 and makes sure that no underflow 
happens when setting the duty cycle to 0.
   
   ## Impact
   
   Correct handling of the duty cycle range in the PWM example.
   
   ## Testing
   
   `esp32c3-devkit:pwm`


-- 
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]

Reply via email to