Explorar el Código

Tweak to stepper advance e_steps update

Scott Lahteine hace 8 años
padre
commit
d07a913f21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp Ver fichero

@@ -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…
Cancelar
Guardar