Skip to content

Commit 9134db0

Browse files
quiretthinkyhead
andcommitted
🩹 Reset touch screen calibration on failure (#25334)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
1 parent 9c5dd15 commit 9134db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/tft_io/touch_calibration.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void TouchCalibration::validate_calibration() {
7474
else {
7575
calibration_state = CALIBRATION_FAIL;
7676
calibration_reset();
77-
if (need_calibration() && failed_count++ < TOUCH_CALIBRATION_MAX_RETRIES) calibration_state = CALIBRATION_TOP_LEFT;
77+
if (need_calibration() && failed_count++ < TOUCH_CALIBRATION_MAX_RETRIES) calibration_state = CALIBRATION_NONE;
7878
}
7979
#undef CAL_PTS
8080

0 commit comments

Comments
 (0)