Skip to content
Snippets Groups Projects
Commit 2aed66a9 authored by Stefan Brüns's avatar Stefan Brüns Committed by Scott Lahteine
Browse files

temperature: Fix SOFT_PWM off by one


A 128 step PWM has 127 intervals (0/127 ... 127/127 duty). Currently, a
PWM setting of 1/127 is active for 2/128, i.e. double the expected time,
or, in general n+1/128 instead of n/127.
Fixes issue#6003.

Signed-off-by: default avatarStefan Brüns <stefan.bruens@rwth-aachen.de>
parent 8ee2612e
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment