|
@@ -212,14 +212,14 @@ public:
|
212
|
212
|
|
213
|
213
|
// constexpr helpers used in build-time static_asserts, relying on default probe offsets.
|
214
|
214
|
class build_time {
|
215
|
|
- static constexpr xyz_pos_t default_probe_xyz_offset =
|
|
215
|
+ static constexpr xyz_pos_t default_probe_xyz_offset = xyz_pos_t(
|
216
|
216
|
#if HAS_BED_PROBE
|
217
|
217
|
NOZZLE_TO_PROBE_OFFSET
|
218
|
218
|
#else
|
219
|
219
|
{ 0 }
|
220
|
220
|
#endif
|
221
|
|
- ;
|
222
|
|
- static constexpr xy_pos_t default_probe_xy_offset = { default_probe_xyz_offset.x, default_probe_xyz_offset.y };
|
|
221
|
+ );
|
|
222
|
+ static constexpr xy_pos_t default_probe_xy_offset = xy_pos_t({ default_probe_xyz_offset.x, default_probe_xyz_offset.y });
|
223
|
223
|
|
224
|
224
|
public:
|
225
|
225
|
static constexpr bool can_reach(float x, float y) {
|