Skip to content

Commit fe6eb17

Browse files
authored
🐛 Fix NONLINEAR_EXTRUSION enabled check (#27926)
Followup to #27819
1 parent 533d752 commit fe6eb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/module/stepper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2882,7 +2882,7 @@ hal_timer_t Stepper::block_phase_isr() {
28822882
const bool forward_e = step_rate > 0;
28832883

28842884
#if ENABLED(NONLINEAR_EXTRUSION)
2885-
if (forward_e && ANY_AXIS_MOVES(current_block)) {
2885+
if (ne.settings.enabled && forward_e && ANY_AXIS_MOVES(current_block)) {
28862886
// 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
28872887
int32_t vd_q30 = ne.q30.A * sq(step_rate) + ne.q30.B * step_rate;
28882888
NOLESS(vd_q30, 0);

0 commit comments

Comments
 (0)