From daa712455b532da1059eba43a85eb7475bd2b8ab Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 12 Apr 2018 19:36:37 -0500 Subject: [PATCH] Make sure MBL starts close to the bed Fix #10390 --- Marlin/src/gcode/bedlevel/mbl/G29.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Marlin/src/gcode/bedlevel/mbl/G29.cpp b/Marlin/src/gcode/bedlevel/mbl/G29.cpp index 87dcb5659f..0f2889a55c 100644 --- a/Marlin/src/gcode/bedlevel/mbl/G29.cpp +++ b/Marlin/src/gcode/bedlevel/mbl/G29.cpp @@ -123,6 +123,12 @@ void GcodeSuite::G29() { soft_endstops_enabled = false; #endif + // Move close to the bed for the first point + if (!mbl_probe_index) { + current_position[Z_AXIS] = Z_MIN_POS; + buffer_line_to_current_position(); + } + mbl_probe_index++; } else {