mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 17:05:14 -04:00
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 | ||