Browse Source
If dithering is enabled, the remainder of the soft_pwm_X duty value at turnoff time is added to the next cycle. If e.g. the duty is set to 9 and SCALE is set to 2, the PWM will be active for 8 counts for 3 cycles and 12 counts on each fourth cycle, i.e. the average is 9 cycles. This compensates the resolution loss at higher scales and allows running fans with SOFT_PWM with significantly reduced noise. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>pull/1/head
Stefan Brüns
8 years ago
committed by
Scott Lahteine
2 changed files with 32 additions and 18 deletions
Loading…
Reference in new issue