1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Tweak to stepper advance e_steps update

This commit is contained in:
Scott Lahteine 2016-09-02 02:06:17 -05:00
parent aaef7c6b89
commit d07a913f21

View File

@ -426,7 +426,7 @@ void Stepper::isr() {
counter_E -= current_block->step_event_count;
#if DISABLED(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
}