Commit 9b2c060 1 parent 631e35b commit 9b2c060 Copy full SHA for 9b2c060
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,9 @@ typedef struct SettingsDataStruct {
277
277
// X_AXIS_TWIST_COMPENSATION
278
278
//
279
279
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
280
- XATC xatc; // M423 X Z
280
+ float xatc_spacing; // M423 X Z
281
+ float xatc_start;
282
+ xatc_array_t xatc_z_offset;
281
283
#endif
282
284
283
285
//
@@ -900,7 +902,7 @@ void MarlinSettings::postprocess() {
900
902
// X Axis Twist Compensation
901
903
//
902
904
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
903
- _FIELD_TEST (xatc );
905
+ _FIELD_TEST (xatc_spacing );
904
906
EEPROM_WRITE (xatc.spacing );
905
907
EEPROM_WRITE (xatc.start );
906
908
EEPROM_WRITE (xatc.z_offset );
@@ -1811,7 +1813,7 @@ void MarlinSettings::postprocess() {
1811
1813
// X Axis Twist Compensation
1812
1814
//
1813
1815
#if ENABLED(X_AXIS_TWIST_COMPENSATION)
1814
- _FIELD_TEST (xatc );
1816
+ _FIELD_TEST (xatc_spacing );
1815
1817
EEPROM_READ (xatc.spacing );
1816
1818
EEPROM_READ (xatc.start );
1817
1819
EEPROM_READ (xatc.z_offset );
You can’t perform that action at this time.
0 commit comments