mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Fix buffer pointer in HyperX Alloy Origins controller
This commit is contained in:
1 parent
98100a9bad
commit
86d96848a2
1 file changed
+2
-2
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user