Skip to content

Commit

Permalink
Fix IDEX reboot on travel after G28 X (MarlinFirmware#20654)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation authored and kpishere committed Feb 19, 2021
1 parent 17f0e2c commit 09bf11d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Marlin/src/MarlinCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ inline void manage_inactivity(const bool ignore_stepper_queue=false) {
delayed_move_time = 0xFFFFFFFFUL; // force moves to be done
destination = current_position;
prepare_line_to_destination();
planner.synchronize();
}
#endif

Expand Down
1 change: 0 additions & 1 deletion Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,6 @@ FORCE_INLINE void segment_idle(millis_t &next_idle_ms) {
line_to_current_position(fr_zfast);
}
}
planner.synchronize(); // paranoia
stepper.set_directions();

idex_set_parked(false);
Expand Down

0 comments on commit 09bf11d

Please sign in to comment.