Tweak to stepper advance e_steps update
This commit is contained in:
parent
aaef7c6b89
commit
d07a913f21
|
@ -426,7 +426,7 @@ void Stepper::isr() {
|
||||||
counter_E -= current_block->step_event_count;
|
counter_E -= current_block->step_event_count;
|
||||||
#if DISABLED(MIXING_EXTRUDER)
|
#if DISABLED(MIXING_EXTRUDER)
|
||||||
// Don't step E here for mixing extruder
|
// Don't step E here for mixing extruder
|
||||||
e_steps[TOOL_E_INDEX] += motor_direction(E_AXIS) ? -1 : 1;
|
motor_direction(E_AXIS) ? --e_steps[TOOL_E_INDEX] : ++e_steps[TOOL_E_INDEX];
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue