Fix buffer pointer in HyperX Alloy Origins controller
This commit is contained in:
parent
98100a9bad
commit
86d96848a2
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ void HyperXAlloyOriginsController::SendDirectInitialization()
|
|||
/*-----------------------------------------------------*\
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_send_feature_report(dev, &buf[1], 65);
|
||||
hid_send_feature_report(dev, buf, 65);
|
||||
}
|
||||
|
||||
void HyperXAlloyOriginsController::SendDirectColorPacket
|
||||
|
|
@ -127,5 +127,5 @@ void HyperXAlloyOriginsController::SendDirectColorPacket
|
|||
/*-----------------------------------------------------*\
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_send_feature_report(dev, &buf[1], 65);
|
||||
hid_send_feature_report(dev, buf, 65);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue