Tweak to stepper advance e_steps update
This commit is contained in:
parent
aaef7c6b89
commit
d07a913f21
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue