Skip to content

Commit

Permalink
🩹 Revert motion change
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Apr 2, 2024
1 parent 60f2837 commit 7b6b6e1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,14 +729,11 @@ void do_blocking_move_to(const xyze_pos_t &raw, const_feedRate_t fr_mm_s/*=0.0f*
}
void do_move_after_z_homing() {
DEBUG_SECTION(mzah, "do_move_after_z_homing", DEBUGGING(LEVELING));
float zpos = 0;
#ifdef Z_POST_CLEARANCE // (is always defined)
NOLESS(zpos, Z_POST_CLEARANCE);
#if defined(Z_AFTER_HOMING) || ALL(DWIN_LCD_PROUI, INDIVIDUAL_AXIS_HOMING_SUBMENU, MESH_BED_LEVELING)
do_z_clearance(Z_POST_CLEARANCE, true, true);
#elif ENABLED(USE_PROBE_FOR_Z_HOMING)
probe.move_z_after_probing();
#endif
#if ENABLED(USE_PROBE_FOR_Z_HOMING)
NOLESS(zpos, Z_AFTER_PROBING);
#endif
if (zpos) do_z_clearance(zpos, true, true);
}
#endif

Expand Down

0 comments on commit 7b6b6e1

Please sign in to comment.