Skip to content

Commit 86d9684

Browse files
Fix buffer pointer in HyperX Alloy Origins controller
1 parent 98100a9 commit 86d9684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Controllers/HyperXKeyboardController/HyperXAlloyOriginsController.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void HyperXAlloyOriginsController::SendDirectInitialization()
8484
/*-----------------------------------------------------*\
8585
| Send packet |
8686
\*-----------------------------------------------------*/
87-
hid_send_feature_report(dev, &buf[1], 65);
87+
hid_send_feature_report(dev, buf, 65);
8888
}
8989

9090
void HyperXAlloyOriginsController::SendDirectColorPacket
@@ -127,5 +127,5 @@ void HyperXAlloyOriginsController::SendDirectColorPacket
127127
/*-----------------------------------------------------*\
128128
| Send packet |
129129
\*-----------------------------------------------------*/
130-
hid_send_feature_report(dev, &buf[1], 65);
130+
hid_send_feature_report(dev, buf, 65);
131131
}

0 commit comments

Comments
 (0)