diff --git a/src/logid/backend/hidpp20/features/HiresScroll.cpp b/src/logid/backend/hidpp20/features/HiresScroll.cpp index 62bc597..d8f64e8 100644 --- a/src/logid/backend/hidpp20/features/HiresScroll.cpp +++ b/src/logid/backend/hidpp20/features/HiresScroll.cpp @@ -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(report.paramBegin()[0]); } \ No newline at end of file