diff --git a/klippy/stepcompress.c b/klippy/stepcompress.c index eb9abf2c..0ae3bd57 100644 --- a/klippy/stepcompress.c +++ b/klippy/stepcompress.c @@ -202,7 +202,7 @@ compress_bisect_add(struct stepcompress *sc) // Bisect valid add range and try again with new 'add' if (minadd > maxadd) break; - add = (minadd + maxadd) / 2; + add = maxadd - (maxadd - minadd) / 4; } return (struct step_move){ bestinterval, bestcount, bestadd }; }