Skip to content

Fix wlgen Ramp

Douglas Raillard requested to merge github/fork/douglas-raillard-arm/_pr49 into next

Make sure we get the expected number of steps, even if the delta_pct is not an exact divider of (end_pct-start_pct) but is slightly too large instead. If the delta_pct is not an exact divider of (end_pct-start_pct), we'll end up with a final phase that has a duty cycle that does not match end_pct. Force the last phase to have a duty cycle of end_pct.

Also add a debugging aid.

Merge request reports