Fix position_is_reachable bug in waiting
This commit is contained in:
parent
e334efb2a7
commit
75a58ee4b8
|
@ -260,7 +260,7 @@ void homeaxis(const AxisEnum axis);
|
||||||
// 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…
Reference in a new issue