mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-16 20:06:56 -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:
@@ -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