Browse Source

Remove redundant estep rate code from LIN_ADVANCE

As noted by https://github.com/MarlinFirmware/Marlin/pull/4971#issuecomment-252503295
Scott Lahteine 7 years ago
parent
commit
083d41a2c2
1 changed files with 0 additions and 3 deletions
  1. 0
    3
      Marlin/stepper.cpp

+ 0
- 3
Marlin/stepper.cpp View File

@@ -569,9 +569,6 @@ void Stepper::isr() {
569 569
 
570 570
     #if ENABLED(LIN_ADVANCE)
571 571
 
572
-      if (current_block->use_advance_lead)
573
-        current_estep_rate[TOOL_E_INDEX] = ((uint32_t)acc_step_rate * current_block->e_speed_multiplier8) >> 8;
574
-
575 572
       if (current_block->use_advance_lead) {
576 573
         #if ENABLED(MIXING_EXTRUDER)
577 574
           MIXING_STEPPERS_LOOP(j)

Loading…
Cancel
Save