Update the ThermaltakeRiing driver to just set the active_mode variable instead of actually sending mode updates on SetCustomMode
This commit is contained in:
parent
077cda545e
commit
befa9baf20
2 changed files with 2 additions and 2 deletions
|
|
@ -102,7 +102,7 @@ void ThermaltakeRiingController::SendRGB
|
|||
usb_buf[0x00] = 0x32;
|
||||
usb_buf[0x01] = 0x52;
|
||||
usb_buf[0x02] = port;
|
||||
usb_buf[0x03] = mode + speed;
|
||||
usb_buf[0x03] = mode + ( speed & 0x03 );
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Copy in GRB color data |
|
||||
|
|
|
|||
|
|
@ -209,7 +209,7 @@ void RGBController_ThermaltakeRiing::UpdateSingleLED(int led)
|
|||
|
||||
void RGBController_ThermaltakeRiing::SetCustomMode()
|
||||
{
|
||||
SetMode(6);
|
||||
active_mode = 6;
|
||||
}
|
||||
|
||||
void RGBController_ThermaltakeRiing::UpdateMode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue