mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 22:24:12 -04:00
Fix buffer pointer in HyperX Alloy Origins controller
This commit is contained in:
@@ -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