Fix ThumbWheel setStatus arg alignment

This commit is contained in:
pixl 2020-09-05 18:00:18 -04:00
parent a577b74c33
commit 4cfc2515d5
No known key found for this signature in database
GPG Key ID: 1866C148CD593B6E

View File

@ -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];