fix eeprom save
This commit is contained in:
parent
03911ac738
commit
914882849a
1 changed files with 4 additions and 4 deletions
|
|
@ -443,7 +443,7 @@ typedef struct SettingsDataStruct {
|
||||||
// TOUCH_SCREEN_CALIBRATION
|
// TOUCH_SCREEN_CALIBRATION
|
||||||
//
|
//
|
||||||
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||||
touch_calibration_t touch_calibration;
|
touch_calibration_t touch_calibration_data;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Ethernet settings
|
// Ethernet settings
|
||||||
|
|
@ -1410,7 +1410,7 @@ void MarlinSettings::postprocess() {
|
||||||
// TOUCH_SCREEN_CALIBRATION
|
// TOUCH_SCREEN_CALIBRATION
|
||||||
//
|
//
|
||||||
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||||
EEPROM_WRITE(touch.calibration);
|
EEPROM_WRITE(touch_calibration.calibration);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
@ -2293,8 +2293,8 @@ void MarlinSettings::postprocess() {
|
||||||
// TOUCH_SCREEN_CALIBRATION
|
// TOUCH_SCREEN_CALIBRATION
|
||||||
//
|
//
|
||||||
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||||
_FIELD_TEST(touch.calibration);
|
_FIELD_TEST(touch_calibration_data);
|
||||||
EEPROM_READ(touch.calibration);
|
EEPROM_READ(touch_calibration.calibration);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue