From 52a08956353088148c892e00a1f032108fa3f85e Mon Sep 17 00:00:00 2001
From: Jason Smith <jason.inet@gmail.com>
Date: Sun, 5 Jul 2020 13:50:05 -0700
Subject: [PATCH] Fix stall sensitivity adjustment for FTDI screens (#18554)

---
 .../screens/stepper_bump_sensitivity_screen.cpp      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/stepper_bump_sensitivity_screen.cpp b/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/stepper_bump_sensitivity_screen.cpp
index b22d1415b3..75f283feff 100644
--- a/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/stepper_bump_sensitivity_screen.cpp
+++ b/Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/screens/stepper_bump_sensitivity_screen.cpp
@@ -43,12 +43,12 @@ void StepperBumpSensitivityScreen::onRedraw(draw_mode_t what) {
 bool StepperBumpSensitivityScreen::onTouchHeld(uint8_t tag) {
   const float increment = getIncrement();
   switch (tag) {
-    case  2: UI_DECREMENT(TMCBumpSensitivity, X  ); break;
-    case  3: UI_INCREMENT(TMCBumpSensitivity, X2 ); break;
-    case  4: UI_DECREMENT(TMCBumpSensitivity, Y  ); break;
-    case  5: UI_INCREMENT(TMCBumpSensitivity, Y2 ); break;
-    case  6: UI_DECREMENT(TMCBumpSensitivity, Z  ); break;
-    case  7: UI_INCREMENT(TMCBumpSensitivity, Z2 ); break;
+    case  2: UI_DECREMENT(TMCBumpSensitivity, X); break;
+    case  3: UI_INCREMENT(TMCBumpSensitivity, X); break;
+    case  4: UI_DECREMENT(TMCBumpSensitivity, Y); break;
+    case  5: UI_INCREMENT(TMCBumpSensitivity, Y); break;
+    case  6: UI_DECREMENT(TMCBumpSensitivity, Z); break;
+    case  7: UI_INCREMENT(TMCBumpSensitivity, Z); break;
     default:
       return false;
   }
-- 
GitLab