From f209b755a5e67dba07bef7a274aa9ebe14cbf829 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 16 Jul 2015 17:44:45 -0700 Subject: [PATCH] Move the Z probe as far as needed to trigger the switch (PR#2461) --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 1a962bb9a..a01b74cd0 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -1229,7 +1229,7 @@ static void setup_for_endstop_move() { feedrate = homing_feedrate[Z_AXIS]; // Move down until the probe (or endstop?) is triggered - float zPosition = -10; + float zPosition = -(Z_MAX_LENGTH + 10); line_to_z(zPosition); st_synchronize();