e77e27faf1
For a long period value and the duty specified as a percentage, there could be an overflow. Using unsigned integers aligns the code with struct pwm_state and allows to safely use periods up to 4 seconds where supported by drivers. MFC after: 2 weeks |
||
---|---|---|
.. | ||
Makefile | ||
pwm.8 | ||
pwm.c |