From a2cb0a3d5492c4b2224f50cde995b46c2f1c8141 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 11 Apr 2017 07:31:33 -0500 Subject: [PATCH] Use multiply for delta probe constraint --- Marlin/Marlin_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 513fde8484..dc9225833a 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -5692,8 +5692,8 @@ inline void gcode_M42() { // If we have gone out too far, we can do a simple fix and scale the numbers // back in closer to the origin. while (HYPOT(X_current, Y_current) > DELTA_PROBEABLE_RADIUS) { - X_current /= 1.25; - Y_current /= 1.25; + X_current *= 0.8; + Y_current *= 0.8; if (verbose_level > 3) { SERIAL_ECHOPAIR("Pulling point towards center:", X_current); SERIAL_ECHOLNPAIR(", ", Y_current);