Fix bed probing bug without PROBE_DOUBLE_TOUCH

If `PROBE_DOUBLE_TOUCH` wasn't enabled, the probe move could be way too short! See #4701 for example.
This commit is contained in:
Scott Lahteine 2016-08-28 19:00:25 -05:00 committed by GitHub
parent 35a0c46f16
commit dd94d0b9d5

View File

@ -2179,7 +2179,7 @@ static void clean_up_after_endstop_or_probe_move() {
#endif
// move down slowly to find bed
do_probe_move(-10, Z_PROBE_SPEED_SLOW);
do_probe_move(-(Z_MAX_LENGTH) - 10, Z_PROBE_SPEED_SLOW);
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) DEBUG_POS("<<< run_z_probe", current_position);