瀏覽代碼

Use multiply for delta probe constraint

Scott Lahteine 8 年之前
父節點
當前提交
a2cb0a3d54
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp 查看文件

5692
             // If we have gone out too far, we can do a simple fix and scale the numbers
5692
             // If we have gone out too far, we can do a simple fix and scale the numbers
5693
             // back in closer to the origin.
5693
             // back in closer to the origin.
5694
             while (HYPOT(X_current, Y_current) > DELTA_PROBEABLE_RADIUS) {
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
               if (verbose_level > 3) {
5697
               if (verbose_level > 3) {
5698
                 SERIAL_ECHOPAIR("Pulling point towards center:", X_current);
5698
                 SERIAL_ECHOPAIR("Pulling point towards center:", X_current);
5699
                 SERIAL_ECHOLNPAIR(", ", Y_current);
5699
                 SERIAL_ECHOLNPAIR(", ", Y_current);

Loading…
取消
儲存