mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Swap red and blue channels in RGB Fusion 2.0 packet after it was found that they were reversed
This commit is contained in:
1 parent
dca3b0d733
commit
339e1e14c2
1 file changed
+3
-3
@@ -77,9 +77,9 @@ void RGBFusion2Controller::SetLEDColor(unsigned int led, unsigned char red, unsi
|
||||
usb_buf[0x01] = (0x20 | led);
|
||||
usb_buf[0x02] = (0x01 << led );
|
||||
|
||||
usb_buf[0x0E] = red;
|
||||
usb_buf[0x0E] = blue;
|
||||
usb_buf[0x0F] = green;
|
||||
usb_buf[0x10] = blue;
|
||||
usb_buf[0x10] = red;
|
||||
|
||||
hid_send_feature_report(dev, usb_buf, 64);
|
||||
|
||||
@@ -118,4 +118,4 @@ void RGBFusion2Controller::SetMode(unsigned char mode)
|
||||
void RGBFusion2Controller::dump()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user