0a7c308f1b
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
Makefile | ||
pwm_main.c | ||
pwm.h |