Browse Source

Make sure ABL (manual) starts close to the bed

pull/1/head
Scott Lahteine 7 years ago
parent
commit
99282a46e9
  1. 4
      Marlin/src/gcode/bedlevel/abl/G29.cpp

4
Marlin/src/gcode/bedlevel/abl/G29.cpp

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

Loading…
Cancel
Save