mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 22:45:55 -04:00
Update timeout on Corsair Lighting Node controller
This commit is contained in:
@@ -265,7 +265,7 @@ void CorsairLightingNodeController::SendDirect
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_write(dev, usb_buf, 65);
|
||||
hid_read_timeout(dev, usb_buf, 17, 1);
|
||||
hid_read_timeout(dev, usb_buf, 17, 5);
|
||||
}
|
||||
|
||||
void CorsairLightingNodeController::SendCommit()
|
||||
@@ -293,7 +293,7 @@ void CorsairLightingNodeController::SendCommit()
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_write(dev, usb_buf, 65);
|
||||
hid_read_timeout(dev, usb_buf, 17, 1);
|
||||
hid_read_timeout(dev, usb_buf, 17, 5);
|
||||
}
|
||||
|
||||
void CorsairLightingNodeController::SendBegin
|
||||
@@ -456,7 +456,7 @@ void CorsairLightingNodeController::SendPortState
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
hid_write(dev, usb_buf, 65);
|
||||
hid_read_timeout(dev, usb_buf, 17, 1);
|
||||
hid_read_timeout(dev, usb_buf, 17, 5);
|
||||
}
|
||||
|
||||
void CorsairLightingNodeController::SendBrightness
|
||||
|
||||
Reference in New Issue
Block a user