mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-05 21:57:53 -05:00
CrucialController: force mode to static before setting direct colors
This fixes some misbehaving Ballistix sticks that require a mode reset before they actually apply colors as intended.
This commit is contained in:
@@ -80,6 +80,8 @@ void CrucialController::SendEffectMode(unsigned char mode, unsigned char speed)
|
||||
|
||||
void CrucialController::SendDirectColors(RGBColor* color_buf)
|
||||
{
|
||||
SetMode(CRUCIAL_MODE_STATIC);
|
||||
|
||||
//Red Channels
|
||||
CrucialRegisterWrite(0x8300, RGBGetRValue(color_buf[0]));
|
||||
CrucialRegisterWrite(0x8301, RGBGetRValue(color_buf[1]));
|
||||
|
||||
Reference in New Issue
Block a user