|
@@ -39,7 +39,6 @@
|
39
|
39
|
#ifndef LEVEL_CORNERS_Z_HOP
|
40
|
40
|
#define LEVEL_CORNERS_Z_HOP 4.0
|
41
|
41
|
#endif
|
42
|
|
-
|
43
|
42
|
#ifndef LEVEL_CORNERS_HEIGHT
|
44
|
43
|
#define LEVEL_CORNERS_HEIGHT 0.0
|
45
|
44
|
#endif
|
|
@@ -248,7 +247,7 @@ static inline void _lcd_level_bed_corners_get_next_position() {
|
248
|
247
|
wait_for_probe = true;
|
249
|
248
|
ui.goto_screen(_lcd_draw_raise); // show raise screen
|
250
|
249
|
ui.set_selection(true);
|
251
|
|
- while (wait_for_probe && !probe_triggered) { //loop while waiting to bed raise and probe trigger
|
|
250
|
+ while (wait_for_probe && !probe_triggered) { // loop while waiting to bed raise and probe trigger
|
252
|
251
|
probe_triggered = PROBE_TRIGGERED();
|
253
|
252
|
if (probe_triggered) {
|
254
|
253
|
endstops.hit_on_purpose();
|
|
@@ -269,7 +268,7 @@ static inline void _lcd_level_bed_corners_get_next_position() {
|
269
|
268
|
ui.goto_screen(_lcd_draw_probing);
|
270
|
269
|
do {
|
271
|
270
|
ui.refresh(LCDVIEW_REDRAW_NOW);
|
272
|
|
- _lcd_draw_probing(); //update screen with # of good points
|
|
271
|
+ _lcd_draw_probing(); // update screen with # of good points
|
273
|
272
|
do_blocking_move_to_z(current_position.z + LEVEL_CORNERS_Z_HOP); // clearance
|
274
|
273
|
|
275
|
274
|
_lcd_level_bed_corners_get_next_position(); // Select next corner coordinates
|
|
@@ -330,6 +329,7 @@ static inline void _lcd_level_bed_corners_homing() {
|
330
|
329
|
GET_TEXT(MSG_BUTTON_NEXT), GET_TEXT(MSG_BUTTON_DONE)
|
331
|
330
|
, _lcd_goto_next_corner
|
332
|
331
|
, []{
|
|
332
|
+ line_to_z(LEVEL_CORNERS_Z_HOP); // Raise Z off the bed when done
|
333
|
333
|
TERN_(HAS_LEVELING, set_bed_leveling_enabled(leveling_was_active));
|
334
|
334
|
ui.goto_previous_screen_no_defer();
|
335
|
335
|
}
|