Fix IDEX homing X0 wrong direction (#12200)

This commit is contained in:
InsanityAutomation 2018-10-24 17:40:06 -04:00 committed by Scott Lahteine
parent 0a549fd1f2
commit aebbb2359d

View file

@ -1746,10 +1746,10 @@ uint32_t Stepper::stepper_block_phase_isr() {
#endif #endif
) { ) {
last_direction_bits = current_block->direction_bits; last_direction_bits = current_block->direction_bits;
set_directions();
#if EXTRUDERS > 1 #if EXTRUDERS > 1
last_moved_extruder = stepper_extruder; last_moved_extruder = stepper_extruder;
#endif #endif
set_directions();
} }
// At this point, we must ensure the movement about to execute isn't // At this point, we must ensure the movement about to execute isn't