diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 21b7920999..d0828768df 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -800,7 +800,7 @@ void Stepper::isr() { #define STOP_E_PULSE(INDEX) do { if (e_steps) { E## INDEX ##_STEP_WRITE(INVERT_E_STEP_PIN); e_steps < 0 ? ++e_steps : --e_steps; } }while(0) #endif - if (current_block->use_advance_lead) { + if (use_advance_lead) { if (step_events_completed > LA_decelerate_after && current_adv_steps > final_adv_steps) { e_steps--; current_adv_steps--;