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;
|
std::vector<uint8_t> params(2), response;
|
||||||
ThumbwheelStatus status{};
|
ThumbwheelStatus status{};
|
||||||
params[1] = divert;
|
params[0] = divert;
|
||||||
params[2] = invert;
|
params[1] = invert;
|
||||||
|
|
||||||
response = callFunction(SetReporting, params);
|
response = callFunction(SetReporting, params);
|
||||||
status.diverted = response[0];
|
status.diverted = response[0];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user