Update the ThermaltakeRiing driver to just set the active_mode variable instead of actually sending mode updates on SetCustomMode

This commit is contained in:
Adam Honse committed 2020-02-11 18:07:57 -06:00
1 parent 077cda545e
commit befa9baf20
2 files changed
+2 -2

No files matched your search

@@ -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()