Browse Source

Use multiply for delta probe constraint

Scott Lahteine 8 years ago
parent
commit
a2cb0a3d54
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp View File

@@ -5692,8 +5692,8 @@ inline void gcode_M42() {
5692 5692
             // If we have gone out too far, we can do a simple fix and scale the numbers
5693 5693
             // back in closer to the origin.
5694 5694
             while (HYPOT(X_current, Y_current) > DELTA_PROBEABLE_RADIUS) {
5695
-              X_current /= 1.25;
5696
-              Y_current /= 1.25;
5695
+              X_current *= 0.8;
5696
+              Y_current *= 0.8;
5697 5697
               if (verbose_level > 3) {
5698 5698
                 SERIAL_ECHOPAIR("Pulling point towards center:", X_current);
5699 5699
                 SERIAL_ECHOLNPAIR(", ", Y_current);

Loading…
Cancel
Save