Make sure ABL (manual) starts close to the bed

2.0.x
Scott Lahteine 7 years ago
parent 21f13f9e57
commit 99282a46e9

@ -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