Make sure MBL starts close to the bed

Fix #10390
2.0.x
Scott Lahteine 7 years ago
parent 4c8751727a
commit daa712455b

@ -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