Skip to content

Commit d6b4da9

Browse files
committed
whb04b: Remove unused code
1 parent 8974e5a commit d6b4da9

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -735,11 +735,6 @@ void Handwheel::enableVerbose(bool enable)
735735
}
736736
}
737737
// ----------------------------------------------------------------------
738-
void Handwheel::setMode(HandWheelCounters::CounterNameToIndex activeCounterMode)
739-
{
740-
mCounters.setActiveCounter(activeCounterMode);
741-
}
742-
// ----------------------------------------------------------------------
743738
void Handwheel::count(int8_t delta)
744739
{
745740
assert(mEventListener != nullptr);

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ class Handwheel
441441
Handwheel(const FeedRotaryButton& feedButton, KeyEventListener* listener = nullptr);
442442
~Handwheel();
443443
void enableVerbose(bool enable);
444-
void setMode(HandWheelCounters::CounterNameToIndex mode);
445444
void count(int8_t delta);
446445
const HandWheelCounters& counters() const;
447446
HandWheelCounters& counters();

0 commit comments

Comments
 (0)