From 1bb1603886339853e4a3d41857ead45f9cea331a Mon Sep 17 00:00:00 2001 From: narno2202 <130909513+narno2202@users.noreply.github.com> Date: Tue, 10 Jun 2025 22:31:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20FT=20Motion=20cleanup=20(#27910)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/module/ft_motion.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Marlin/src/module/ft_motion.cpp b/Marlin/src/module/ft_motion.cpp index cb31525572..5ccc364c1d 100644 --- a/Marlin/src/module/ft_motion.cpp +++ b/Marlin/src/module/ft_motion.cpp @@ -441,13 +441,7 @@ void FTMotion::runoutBlock() { const int32_t n_diff = n_to_settle_shaper - n_to_fill_batch, n_to_fill_batch_after_settling = n_diff > 0 ? (FTM_BATCH_SIZE) - (n_diff % (FTM_BATCH_SIZE)) : -n_diff; - const int32_t n_to_settle_and_fill_batch = n_to_settle_shaper + n_to_fill_batch_after_settling; - - const int32_t N_needed_to_propagate_to_stepper = PROP_BATCHES; - - const int32_t n_to_use = N_needed_to_propagate_to_stepper * (FTM_BATCH_SIZE) + n_to_settle_and_fill_batch; - - max_intervals = n_to_use; + max_intervals = PROP_BATCHES * (FTM_BATCH_SIZE) + n_to_settle_shaper + n_to_fill_batch_after_settling; blockProcRdy = true; }