Z_RAISE_PROBE_* => Z_PROBE_*_HEIGHT
This commit is contained in:
@@ -985,16 +985,16 @@ void kill_screen(const char* lcd_msg) {
|
||||
static uint8_t _lcd_level_bed_position;
|
||||
|
||||
// Utility to go to the next mesh point
|
||||
// A raise is added between points if MIN_Z_HEIGHT_FOR_HOMING is in use
|
||||
// A raise is added between points if Z_HOMING_HEIGHT is in use
|
||||
// Note: During Manual Bed Leveling the homed Z position is MESH_HOME_SEARCH_Z
|
||||
// Z position will be restored with the final action, a G28
|
||||
inline void _mbl_goto_xy(float x, float y) {
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + MIN_Z_HEIGHT_FOR_HOMING;
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + Z_HOMING_HEIGHT;
|
||||
line_to_current(Z_AXIS);
|
||||
current_position[X_AXIS] = x + home_offset[X_AXIS];
|
||||
current_position[Y_AXIS] = y + home_offset[Y_AXIS];
|
||||
line_to_current(manual_feedrate_mm_m[X_AXIS] <= manual_feedrate_mm_m[Y_AXIS] ? X_AXIS : Y_AXIS);
|
||||
#if MIN_Z_HEIGHT_FOR_HOMING > 0
|
||||
#if Z_HOMING_HEIGHT > 0
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z; // How do condition and action match?
|
||||
line_to_current(Z_AXIS);
|
||||
#endif
|
||||
@@ -1045,7 +1045,7 @@ void kill_screen(const char* lcd_msg) {
|
||||
if (_lcd_level_bed_position == (MESH_NUM_X_POINTS) * (MESH_NUM_Y_POINTS)) {
|
||||
lcd_goto_screen(_lcd_level_bed_done, true);
|
||||
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + MIN_Z_HEIGHT_FOR_HOMING;
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z + Z_HOMING_HEIGHT;
|
||||
line_to_current(Z_AXIS);
|
||||
stepper.synchronize();
|
||||
|
||||
|
Reference in New Issue
Block a user