Skip to content

Commit 8974e5a

Browse files
committed
whb04b: Fix inversion of -B argument
1 parent 91c255d commit 8974e5a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

633-
if (mIsStepMode_5_10 && mStepSize > 2) {mStepSize = 0;} // TODO DOES NOT WORK bool variable seems to be not synched inside pendant.h
633+
if (!mIsStepMode_5_10 && mStepSize > 2) {mStepSize = 0;}
634634

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

0 commit comments

Comments
 (0)