Make sure MBL starts close to the bed

Fix #10390
This commit is contained in:
Scott Lahteine 2018-04-12 19:36:37 -05:00
parent 4c8751727a
commit daa712455b

View file

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