Browse Source

Make sure MBL starts close to the bed

Fix #10390
pull/1/head
Scott Lahteine 7 years ago
parent
commit
daa712455b
  1. 6
      Marlin/src/gcode/bedlevel/mbl/G29.cpp

6
Marlin/src/gcode/bedlevel/mbl/G29.cpp

@ -123,6 +123,12 @@ void GcodeSuite::G29() {
soft_endstops_enabled = false; soft_endstops_enabled = false;
#endif #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++; mbl_probe_index++;
} }
else { else {

Loading…
Cancel
Save