Move to Z=0 for G28 when using Manual Bed Leveling

copy of 406992f9dd
This commit is contained in:
Edward Patel
2016-03-24 23:35:51 +01:00
committed by Scott Lahteine
parent c606ed447a
commit 14afe1a017
2 changed files with 9 additions and 9 deletions

View File

@@ -2434,6 +2434,7 @@ char* ftostr52(const float& x) {
if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) {
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
line_to_current(Z_AXIS);
st_synchronize();
mbl.active = 1;
enqueue_and_echo_commands_P(PSTR("G28"));
lcd_return_to_status();