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