Re-calibrate touch after EEPROM reset, if needed (#20934)
This commit is contained in:
parent
68299c6a5e
commit
d58bbd5da1
@ -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 New Issue
Block a user