Browse Source

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

vanilla_fb_2.0.x
Victor Oliveira 4 years ago
committed by Scott Lahteine
parent
commit
0d7c02d2c6
  1. 8
      Marlin/src/lcd/marlinui.cpp

8
Marlin/src/lcd/marlinui.cpp

@ -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…
Cancel
Save