Browse Source

Tweak to stepper advance e_steps update

Scott Lahteine 8 years ago
parent
commit
d07a913f21
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp View File

@@ -426,7 +426,7 @@ void Stepper::isr() {
426 426
           counter_E -= current_block->step_event_count;
427 427
           #if DISABLED(MIXING_EXTRUDER)
428 428
             // Don't step E here for mixing extruder
429
-            e_steps[TOOL_E_INDEX] += motor_direction(E_AXIS) ? -1 : 1;
429
+            motor_direction(E_AXIS) ? --e_steps[TOOL_E_INDEX] : ++e_steps[TOOL_E_INDEX];
430 430
           #endif
431 431
         }
432 432
 

Loading…
Cancel
Save