Re-calibrate touch after EEPROM reset, if needed (#20934)
This commit is contained in:
parent
129e9151da
commit
0d7c02d2c6
|
@ -1652,7 +1652,13 @@ void MarlinUI::update() {
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
#if HAS_LCD_MENU
|
#if HAS_LCD_MENU
|
||||||
void MarlinUI::reset_settings() { settings.reset(); completion_feedback(); }
|
void MarlinUI::reset_settings() {
|
||||||
|
settings.reset();
|
||||||
|
completion_feedback();
|
||||||
|
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||||
|
if (touch_calibration.need_calibration()) ui.goto_screen(touch_screen_calibration);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(EEPROM_SETTINGS)
|
#if ENABLED(EEPROM_SETTINGS)
|
||||||
|
|
Loading…
Reference in a new issue