mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-17 12:26:59 -04:00
Revert "Change test in ENE SMBus controller to fix a conflict where it locks up Corsair DDR5 Light Enhancement Kit sticks"
This reverts commit c4e0164479.
This commit is contained in:
@@ -127,7 +127,12 @@ 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_data(address, 0x00);
|
||||
int res = bus->i2c_smbus_read_byte(address);
|
||||
|
||||
if(res < 0)
|
||||
{
|
||||
res = bus->i2c_smbus_read_byte_data(address, 0x00);
|
||||
}
|
||||
|
||||
if(res >= 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user