|
@ -212,14 +212,14 @@ public: |
|
|
|
|
|
|
|
|
// constexpr helpers used in build-time static_asserts, relying on default probe offsets.
|
|
|
// constexpr helpers used in build-time static_asserts, relying on default probe offsets.
|
|
|
class build_time { |
|
|
class build_time { |
|
|
static constexpr xyz_pos_t default_probe_xyz_offset = |
|
|
static constexpr xyz_pos_t default_probe_xyz_offset = xyz_pos_t( |
|
|
#if HAS_BED_PROBE |
|
|
#if HAS_BED_PROBE |
|
|
NOZZLE_TO_PROBE_OFFSET |
|
|
NOZZLE_TO_PROBE_OFFSET |
|
|
#else |
|
|
#else |
|
|
{ 0 } |
|
|
{ 0 } |
|
|
#endif |
|
|
#endif |
|
|
; |
|
|
); |
|
|
static constexpr xy_pos_t default_probe_xy_offset = { default_probe_xyz_offset.x, default_probe_xyz_offset.y }; |
|
|
static constexpr xy_pos_t default_probe_xy_offset = xy_pos_t({ default_probe_xyz_offset.x, default_probe_xyz_offset.y }); |
|
|
|
|
|
|
|
|
public: |
|
|
public: |
|
|
static constexpr bool can_reach(float x, float y) { |
|
|
static constexpr bool can_reach(float x, float y) { |
|
|