Skip to content

Commit 7b6b6e1

Browse files
committed
🩹 Revert motion change
1 parent 60f2837 commit 7b6b6e1

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Marlin/src/module/motion.cpp

+4-7
Original file line numberDiff line numberDiff line change
@@ -729,14 +729,11 @@ void do_blocking_move_to(const xyze_pos_t &raw, const_feedRate_t fr_mm_s/*=0.0f*
729729
}
730730
void do_move_after_z_homing() {
731731
DEBUG_SECTION(mzah, "do_move_after_z_homing", DEBUGGING(LEVELING));
732-
float zpos = 0;
733-
#ifdef Z_POST_CLEARANCE // (is always defined)
734-
NOLESS(zpos, Z_POST_CLEARANCE);
732+
#if defined(Z_AFTER_HOMING) || ALL(DWIN_LCD_PROUI, INDIVIDUAL_AXIS_HOMING_SUBMENU, MESH_BED_LEVELING)
733+
do_z_clearance(Z_POST_CLEARANCE, true, true);
734+
#elif ENABLED(USE_PROBE_FOR_Z_HOMING)
735+
probe.move_z_after_probing();
735736
#endif
736-
#if ENABLED(USE_PROBE_FOR_Z_HOMING)
737-
NOLESS(zpos, Z_AFTER_PROBING);
738-
#endif
739-
if (zpos) do_z_clearance(zpos, true, true);
740737
}
741738
#endif
742739

0 commit comments

Comments
 (0)