Skip to content

Commit c522609

Browse files
Alloy FPS doesn't have extended zones, so zero out extended packet
1 parent 5e4bc66 commit c522609

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Controllers/HyperXKeyboardController/HyperXAlloyFPSController.cpp

-16
Original file line numberDiff line numberDiff line change
@@ -402,14 +402,6 @@ void HyperXAlloyFPSController::SendExtendedColor
402402
buf[0x02] = profile;
403403
buf[0x03] = HYPERX_ALLOY_FPS_COLOR_CHANNEL_EXTENDED;
404404

405-
/*-----------------------------------------------------*\
406-
| Fill in color data |
407-
\*-----------------------------------------------------*/
408-
for(int i = 0x08; i < 0x94; i++)
409-
{
410-
buf[i] = color_data[i];
411-
}
412-
413405
/*-----------------------------------------------------*\
414406
| Send packet |
415407
\*-----------------------------------------------------*/
@@ -471,14 +463,6 @@ void HyperXAlloyFPSController::SendDirectExtended
471463
buf[0x02] = HYPERX_ALLOY_FPS_COLOR_CHANNEL_EXTENDED;
472464
buf[0x03] = 0xA0;
473465

474-
/*-----------------------------------------------------*\
475-
| Fill in color data |
476-
\*-----------------------------------------------------*/
477-
for(int i = 0x08; i < 0x94; i++)
478-
{
479-
buf[i] = color_data[i];
480-
}
481-
482466
/*-----------------------------------------------------*\
483467
| Send packet |
484468
\*-----------------------------------------------------*/

0 commit comments

Comments
 (0)