|
|
@ -112,9 +112,9 @@ public: |
|
|
|
FORCE_INLINE static bool good_bounds(const xy_pos_t &lf, const xy_pos_t &rb) { |
|
|
|
return ( |
|
|
|
#if IS_KINEMATIC |
|
|
|
can_reach(lf.x, 0) && can_reach(rb.x, 0) && can_reach(0, lf.y) && can_reach(0, rb.y) |
|
|
|
can_reach(lf.x, 0) && can_reach(rb.x, 0) && can_reach(0, lf.y) && can_reach(0, rb.y) |
|
|
|
#else |
|
|
|
can_reach(lf) && can_reach(rb) |
|
|
|
can_reach(lf) && can_reach(rb) |
|
|
|
#endif |
|
|
|
); |
|
|
|
} |
|
|
@ -122,7 +122,7 @@ public: |
|
|
|
// Use offset_xy for read only access
|
|
|
|
// More optimal the XY offset is known to always be zero.
|
|
|
|
#if HAS_PROBE_XY_OFFSET |
|
|
|
static const xyz_pos_t &offset_xy; |
|
|
|
static const xy_pos_t &offset_xy; |
|
|
|
#else |
|
|
|
static constexpr xy_pos_t offset_xy = xy_pos_t({ 0, 0 }); // See #16767
|
|
|
|
#endif |
|
|
|