mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-23 18:33:52 +00:00
🩹 Reset touch screen calibration on failure (#25334)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
parent
accfab85a2
commit
0d7e30bcd8
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ void TouchCalibration::validate_calibration() {
|
|||
else {
|
||||
calibration_state = CALIBRATION_FAIL;
|
||||
calibration_reset();
|
||||
if (need_calibration() && failed_count++ < TOUCH_CALIBRATION_MAX_RETRIES) calibration_state = CALIBRATION_TOP_LEFT;
|
||||
if (need_calibration() && failed_count++ < TOUCH_CALIBRATION_MAX_RETRIES) calibration_state = CALIBRATION_NONE;
|
||||
}
|
||||
#undef CAL_PTS
|
||||
|
||||
|
|
Loading…
Reference in a new issue