🩹 Fix xatc EEPROM debug (#23911)
This commit is contained in:
parent
260b40d145
commit
c7a2ecc31a
|
@ -277,7 +277,9 @@ typedef struct SettingsDataStruct {
|
||||||
// X_AXIS_TWIST_COMPENSATION
|
// X_AXIS_TWIST_COMPENSATION
|
||||||
//
|
//
|
||||||
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
|
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
|
||||||
XATC xatc; // M423 X Z
|
float xatc_spacing; // M423 X Z
|
||||||
|
float xatc_start;
|
||||||
|
xatc_array_t xatc_z_offset;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -900,7 +902,7 @@ void MarlinSettings::postprocess() {
|
||||||
// X Axis Twist Compensation
|
// X Axis Twist Compensation
|
||||||
//
|
//
|
||||||
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
|
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
|
||||||
_FIELD_TEST(xatc);
|
_FIELD_TEST(xatc_spacing);
|
||||||
EEPROM_WRITE(xatc.spacing);
|
EEPROM_WRITE(xatc.spacing);
|
||||||
EEPROM_WRITE(xatc.start);
|
EEPROM_WRITE(xatc.start);
|
||||||
EEPROM_WRITE(xatc.z_offset);
|
EEPROM_WRITE(xatc.z_offset);
|
||||||
|
@ -1811,7 +1813,7 @@ void MarlinSettings::postprocess() {
|
||||||
// X Axis Twist Compensation
|
// X Axis Twist Compensation
|
||||||
//
|
//
|
||||||
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
|
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
|
||||||
_FIELD_TEST(xatc);
|
_FIELD_TEST(xatc_spacing);
|
||||||
EEPROM_READ(xatc.spacing);
|
EEPROM_READ(xatc.spacing);
|
||||||
EEPROM_READ(xatc.start);
|
EEPROM_READ(xatc.start);
|
||||||
EEPROM_READ(xatc.z_offset);
|
EEPROM_READ(xatc.z_offset);
|
||||||
|
|
Loading…
Reference in a new issue