mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-14 05:12:34 +08:00
Fix ThumbWheel setStatus arg alignment
This commit is contained in:
parent
a577b74c33
commit
4cfc2515d5
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user