From 6ea65601f3ef05caa824930d863503676a23fedf Mon Sep 17 00:00:00 2001 From: pixl Date: Sun, 2 Aug 2020 02:34:58 -0400 Subject: [PATCH] Fix typo in HiresScroll --- src/logid/backend/hidpp20/features/HiresScroll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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