Skip to content

Commit 4d57565

Browse files
committed
whb04b: Use step size 1mm in 60 and 100% position if -B is not given
1 parent 15495a3 commit 4d57565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hal/user_comps/xhc-whb04b-6/pendant.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ void FeedRotaryButton::update()
631631
mStepSize = mStepSizeMapper.getStepSize(second);
632632
mIsPermitted = mStepSizeMapper.isPermitted(second);
633633

634-
if (!mIsStepMode_5_10 && mStepSize > 2) {mStepSize = 0;}
634+
if (!mIsStepMode_5_10 && mStepSize > 2) {mStepSize = 1.0;}
635635

636636
}
637637
else if (mStepMode == HandwheelStepmodes::Mode::CON)

0 commit comments

Comments
 (0)