Re-calibrate touch after EEPROM reset, if needed (#20934)

This commit is contained in:
Victor Oliveira 2021-02-04 18:31:46 -03:00 committed by Scott Lahteine
parent 129e9151da
commit 0d7c02d2c6

View file

@ -1652,7 +1652,13 @@ void MarlinUI::update() {
#endif // SDSUPPORT
#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
#if ENABLED(EEPROM_SETTINGS)