Browse Source

Make sure ABL (manual) starts close to the bed

Scott Lahteine 6 years ago
parent
commit
99282a46e9
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/src/gcode/bedlevel/abl/G29.cpp

+ 3
- 1
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

@@ -468,10 +468,12 @@ void GcodeSuite::G29() {
468 468
     if (no_action) return;
469 469
 
470 470
     if (abl_probe_index == 0) {
471
-      // For the initial G29 save software endstop state
471
+      // For the initial G29 S2 save software endstop state
472 472
       #if HAS_SOFTWARE_ENDSTOPS
473 473
         enable_soft_endstops = soft_endstops_enabled;
474 474
       #endif
475
+      // Move close to the bed before the first point
476
+      do_blocking_move_to_z(Z_MIN_POS);
475 477
     }
476 478
     else {
477 479
 

Loading…
Cancel
Save