🚸 Use Z_STEPPER_ALIGN_STEPPER_XY to enable
This commit is contained in:
@ -341,11 +341,11 @@ typedef struct SettingsDataStruct {
|
||||
#endif
|
||||
|
||||
//
|
||||
// Z_STEPPER_AUTO_ALIGN, Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS
|
||||
// Z_STEPPER_AUTO_ALIGN, HAS_Z_STEPPER_ALIGN_STEPPER_XY
|
||||
//
|
||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||
xy_pos_t z_stepper_align_xy[NUM_Z_STEPPER_DRIVERS]; // M422 S X Y
|
||||
#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
|
||||
#if HAS_Z_STEPPER_ALIGN_STEPPER_XY
|
||||
xy_pos_t z_stepper_align_stepper_xy[NUM_Z_STEPPER_DRIVERS]; // M422 W X Y
|
||||
#endif
|
||||
#endif
|
||||
@ -1005,7 +1005,7 @@ void MarlinSettings::postprocess() {
|
||||
|
||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||
EEPROM_WRITE(z_stepper_align.xy);
|
||||
#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
|
||||
#if HAS_Z_STEPPER_ALIGN_STEPPER_XY
|
||||
EEPROM_WRITE(z_stepper_align.stepper_xy);
|
||||
#endif
|
||||
#endif
|
||||
@ -1924,7 +1924,7 @@ void MarlinSettings::postprocess() {
|
||||
|
||||
#if ENABLED(Z_STEPPER_AUTO_ALIGN)
|
||||
EEPROM_READ(z_stepper_align.xy);
|
||||
#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)
|
||||
#if HAS_Z_STEPPER_ALIGN_STEPPER_XY
|
||||
EEPROM_READ(z_stepper_align.stepper_xy);
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user