Katelyn Schiesser
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
Marlin/src/lcd/menu/menu_bed_corners.cpp
|
@ -39,7 +39,6 @@ |
|
|
#ifndef LEVEL_CORNERS_Z_HOP |
|
|
#ifndef LEVEL_CORNERS_Z_HOP |
|
|
#define LEVEL_CORNERS_Z_HOP 4.0 |
|
|
#define LEVEL_CORNERS_Z_HOP 4.0 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#ifndef LEVEL_CORNERS_HEIGHT |
|
|
#ifndef LEVEL_CORNERS_HEIGHT |
|
|
#define LEVEL_CORNERS_HEIGHT 0.0 |
|
|
#define LEVEL_CORNERS_HEIGHT 0.0 |
|
|
#endif |
|
|
#endif |
|
@ -330,6 +329,7 @@ static inline void _lcd_level_bed_corners_homing() { |
|
|
GET_TEXT(MSG_BUTTON_NEXT), GET_TEXT(MSG_BUTTON_DONE) |
|
|
GET_TEXT(MSG_BUTTON_NEXT), GET_TEXT(MSG_BUTTON_DONE) |
|
|
, _lcd_goto_next_corner |
|
|
, _lcd_goto_next_corner |
|
|
, []{ |
|
|
, []{ |
|
|
|
|
|
line_to_z(LEVEL_CORNERS_Z_HOP); // Raise Z off the bed when done
|
|
|
TERN_(HAS_LEVELING, set_bed_leveling_enabled(leveling_was_active)); |
|
|
TERN_(HAS_LEVELING, set_bed_leveling_enabled(leveling_was_active)); |
|
|
ui.goto_previous_screen_no_defer(); |
|
|
ui.goto_previous_screen_no_defer(); |
|
|
} |
|
|
} |
|
|