MBL: Add support for max z endstop
See https://github.com/MarlinFirmware/Marlin/issues/4088
This commit is contained in:
@@ -1057,7 +1057,11 @@ static void lcd_status_screen() {
|
||||
if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_LEVEL_BED_WAITING));
|
||||
if (LCD_CLICKED) {
|
||||
_lcd_level_bed_position = 0;
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
||||
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z
|
||||
#if Z_HOME_DIR > 0
|
||||
+ Z_MAX_POS
|
||||
#endif
|
||||
;
|
||||
planner.set_position_mm(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|
||||
lcd_goto_screen(_lcd_level_goto_next_point, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user