Make sure ABL (manual) starts close to the bed

This commit is contained in:
Scott Lahteine 2018-04-13 20:19:18 -05:00
parent 21f13f9e57
commit 99282a46e9

View File

@ -468,10 +468,12 @@ void GcodeSuite::G29() {
if (no_action) return;
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
enable_soft_endstops = soft_endstops_enabled;
#endif
// Move close to the bed before the first point
do_blocking_move_to_z(Z_MIN_POS);
}
else {