parent
5becda25c5
commit
1df6c7a46c
3 changed files with 9 additions and 6 deletions
|
@ -220,11 +220,6 @@
|
|||
#ifndef Z_SAFE_HOMING_Y_POINT
|
||||
#define Z_SAFE_HOMING_Y_POINT _SAFE_POINT(Y)
|
||||
#endif
|
||||
#define X_TILT_FULCRUM Z_SAFE_HOMING_X_POINT
|
||||
#define Y_TILT_FULCRUM Z_SAFE_HOMING_Y_POINT
|
||||
#else
|
||||
#define X_TILT_FULCRUM X_HOME_POS
|
||||
#define Y_TILT_FULCRUM Y_HOME_POS
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
@ -1350,6 +1350,15 @@ void Planner::check_axes_activity() {
|
|||
#endif
|
||||
|
||||
#if HAS_LEVELING
|
||||
|
||||
constexpr xy_pos_t level_fulcrum = {
|
||||
#if ENABLED(Z_SAFE_HOMING)
|
||||
Z_SAFE_HOMING_X_POINT, Z_SAFE_HOMING_Y_POINT
|
||||
#else
|
||||
X_HOME_POS, Y_HOME_POS
|
||||
#endif
|
||||
};
|
||||
|
||||
/**
|
||||
* rx, ry, rz - Cartesian positions in mm
|
||||
* Leveled XYZ on completion
|
||||
|
|
|
@ -268,7 +268,6 @@ class Planner {
|
|||
static bool leveling_active; // Flag that bed leveling is enabled
|
||||
#if ABL_PLANAR
|
||||
static matrix_3x3 bed_level_matrix; // Transform to compensate for bed level
|
||||
static constexpr xy_pos_t level_fulcrum = { X_TILT_FULCRUM, Y_TILT_FULCRUM };
|
||||
#endif
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
static float z_fade_height, inverse_z_fade_height;
|
||||
|
|
Reference in a new issue