From 083d41a2c29b218f5f0e19073fc26134ffaa3466 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 22 Oct 2016 02:19:14 -0500 Subject: [PATCH] Remove redundant estep rate code from LIN_ADVANCE As noted by https://github.com/MarlinFirmware/Marlin/pull/4971#issuecomment-252503295 --- Marlin/stepper.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index e3167a192..bacf22406 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -569,9 +569,6 @@ void Stepper::isr() { #if ENABLED(LIN_ADVANCE) - if (current_block->use_advance_lead) - current_estep_rate[TOOL_E_INDEX] = ((uint32_t)acc_step_rate * current_block->e_speed_multiplier8) >> 8; - if (current_block->use_advance_lead) { #if ENABLED(MIXING_EXTRUDER) MIXING_STEPPERS_LOOP(j)