Skip to content

Commit

Permalink
Fix ThumbWheel setStatus arg alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
PixlOne committed Sep 5, 2020
1 parent a577b74 commit 4cfc251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logid/backend/hidpp20/features/ThumbWheel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ ThumbWheel::ThumbwheelStatus ThumbWheel::setStatus(bool divert, bool invert)
{
std::vector<uint8_t> params(2), response;
ThumbwheelStatus status{};
params[1] = divert;
params[2] = invert;
params[0] = divert;
params[1] = invert;

response = callFunction(SetReporting, params);
status.diverted = response[0];
Expand Down

0 comments on commit 4cfc251

Please sign in to comment.