From fe6eb1745fb6eab3e53da61623ceaee88373a149 Mon Sep 17 00:00:00 2001 From: Vovodroid Date: Sun, 22 Jun 2025 00:36:22 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20NONLINEAR=5FEXTRUSION=20en?= =?UTF-8?q?abled=20check=20(#27926)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to #27819 --- Marlin/src/module/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/stepper.cpp b/Marlin/src/module/stepper.cpp index 945600e4fb..2196848acb 100644 --- a/Marlin/src/module/stepper.cpp +++ b/Marlin/src/module/stepper.cpp @@ -2882,7 +2882,7 @@ hal_timer_t Stepper::block_phase_isr() { const bool forward_e = step_rate > 0; #if ENABLED(NONLINEAR_EXTRUSION) - if (forward_e && ANY_AXIS_MOVES(current_block)) { + if (ne.settings.enabled && forward_e && ANY_AXIS_MOVES(current_block)) { // Maximum polynomial value is just above 1, like 1.05..1.2, less than 2 anyway, so we can use 30 bits for fractional part int32_t vd_q30 = ne.q30.A * sq(step_rate) + ne.q30.B * step_rate; NOLESS(vd_q30, 0);