Skip to content
Snippets Groups Projects
Unverified Commit 52a08956 authored by Jason Smith's avatar Jason Smith Committed by GitHub
Browse files

Fix stall sensitivity adjustment for FTDI screens (#18554)

parent db0436cc
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment