瀏覽代碼

Prevent position_is_reachable disaster

Scott Lahteine 6 年之前
父節點
當前提交
7aadfe32e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/Marlin.h

+ 1
- 1
Marlin/Marlin.h 查看文件

@@ -482,7 +482,7 @@ void do_blocking_move_to_xy(const float &x, const float &y, const float &fr_mm_s
482 482
     // This won't work on SCARA since the probe offset rotates with the arm.
483 483
 
484 484
     return position_is_reachable(rx, ry)
485
-        && position_is_reachable(rx - X_PROBE_OFFSET_FROM_EXTRUDER, ry - Y_PROBE_OFFSET_FROM_EXTRUDER);
485
+        && position_is_reachable(rx - (X_PROBE_OFFSET_FROM_EXTRUDER), ry - (Y_PROBE_OFFSET_FROM_EXTRUDER));
486 486
   }
487 487
 
488 488
 #else // CARTESIAN

Loading…
取消
儲存