mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-15 06:38:59 -04:00
Change test in ENE SMBus controller to fix a conflict where it locks up Corsair DDR5 Light Enhancement Kit sticks
This commit is contained in:
1 parent
f872f1c591
commit
c4e0164479
1 file changed
+1
-6
@@ -132,12 +132,7 @@ bool TestForENESMBusController(i2c_smbus_interface* bus, unsigned char address)
|
||||
|
||||
LOG_DEBUG("[ENE SMBus] looking for devices at 0x%02X...", address);
|
||||
|
||||
int res = bus->i2c_smbus_read_byte(address);
|
||||
|
||||
if(res < 0)
|
||||
{
|
||||
res = bus->i2c_smbus_read_byte_data(address, 0x00);
|
||||
}
|
||||
int res = bus->i2c_smbus_read_byte_data(address, 0x00);
|
||||
|
||||
if(res >= 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user