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 2020-02-11 18:07:57 -06:00
parent 077cda545e
commit befa9baf20
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -209,7 +209,7 @@ void RGBController_ThermaltakeRiing::UpdateSingleLED(int led)
void RGBController_ThermaltakeRiing::SetCustomMode()
{
SetMode(6);
active_mode = 6;
}
void RGBController_ThermaltakeRiing::UpdateMode()