Prevent position_is_reachable disaster
This commit is contained in:
parent
8ce9306b27
commit
7aadfe32e7
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ void do_blocking_move_to_xy(const float &x, const float &y, const float &fr_mm_s
|
||||||
// This won't work on SCARA since the probe offset rotates with the arm.
|
// This won't work on SCARA since the probe offset rotates with the arm.
|
||||||
|
|
||||||
return position_is_reachable(rx, ry)
|
return position_is_reachable(rx, ry)
|
||||||
&& position_is_reachable(rx - X_PROBE_OFFSET_FROM_EXTRUDER, ry - Y_PROBE_OFFSET_FROM_EXTRUDER);
|
&& position_is_reachable(rx - (X_PROBE_OFFSET_FROM_EXTRUDER), ry - (Y_PROBE_OFFSET_FROM_EXTRUDER));
|
||||||
}
|
}
|
||||||
|
|
||||||
#else // CARTESIAN
|
#else // CARTESIAN
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue