Fix IDEX reboot on travel after G28 X (#20654)

This commit is contained in:
InsanityAutomation 2021-01-03 23:07:29 -05:00 committed by Scott Lahteine
parent abeefaac7f
commit b1f0671541
2 changed files with 1 additions and 1 deletions

View File

@ -660,6 +660,7 @@ inline void manage_inactivity(const bool ignore_stepper_queue=false) {
delayed_move_time = 0xFFFFFFFFUL; // force moves to be done delayed_move_time = 0xFFFFFFFFUL; // force moves to be done
destination = current_position; destination = current_position;
prepare_line_to_destination(); prepare_line_to_destination();
planner.synchronize();
} }
#endif #endif

View File

@ -1006,7 +1006,6 @@ FORCE_INLINE void segment_idle(millis_t &next_idle_ms) {
line_to_current_position(fr_zfast); line_to_current_position(fr_zfast);
} }
} }
planner.synchronize(); // paranoia
stepper.set_directions(); stepper.set_directions();
idex_set_parked(false); idex_set_parked(false);