Merge pull request #3541 from thinkyhead/rc_mbl_one_last_lift

Add a final lift, if configured, in Manual Bed Leveling
master
Scott Lahteine 9 years ago
commit 5905ec5ba8

@ -2951,7 +2951,11 @@ inline void gcode_G28() {
}
else {
// One last "return to the bed" (as originally coded) at completion
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
#if MIN_Z_HEIGHT_FOR_HOMING > 0
+ MIN_Z_HEIGHT_FOR_HOMING
#endif
;
line_to_current_position();
st_synchronize();

@ -960,7 +960,11 @@ void lcd_cooldown() {
buzz(200, 659);
buzz(200, 698);
#endif
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
#if MIN_Z_HEIGHT_FOR_HOMING > 0
+ MIN_Z_HEIGHT_FOR_HOMING
#endif
;
line_to_current(Z_AXIS);
st_synchronize();
mbl.active = true;

Loading…
Cancel
Save