From 8aea9a725df0e4e8cf0b409b18bd6d1d321b1c9c Mon Sep 17 00:00:00 2001 From: kimstik <7290319+kimstik@users.noreply.github.com> Date: Tue, 7 Oct 2025 13:29:09 +0200 Subject: [PATCH] Update motion_control.c bug: cubic spline step is up to 2*BEZIER_MAX_STEP --- motion_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motion_control.c b/motion_control.c index 9be0cf3..b042cff 100644 --- a/motion_control.c +++ b/motion_control.c @@ -516,7 +516,7 @@ void mc_cubic_b_spline (float *target, plan_line_data_t *pl_data, float *positio } // If we did not reduce the step, maybe we should enlarge it. - if (!did_reduce) while (new_t - t <= BEZIER_MAX_STEP) { + if (!did_reduce) while (new_t - t < BEZIER_MAX_STEP) { // if (new_t - t > BEZIER_MAX_STEP) // break;