mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-14 05:12:34 +08:00
Fix typo in HiresScroll
This commit is contained in:
parent
c3419b9468
commit
6ea65601f3
@ -70,7 +70,7 @@ HiresScroll::WheelStatus HiresScroll::wheelMovementEvent(const hidpp::Report
|
||||
HiresScroll::RatchetState HiresScroll::ratchetSwitchEvent(const hidpp::Report
|
||||
&report)
|
||||
{
|
||||
assert(report.function() == WheelMovement);
|
||||
assert(report.function() == RatchetSwitch);
|
||||
// Possible bad cast
|
||||
return static_cast<RatchetState>(report.paramBegin()[0]);
|
||||
}
|
Loading…
Reference in New Issue
Block a user