From b99db663bbb1a7b25f3cb5e6781dad0745de706a Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 18 Nov 2021 08:16:46 -0600 Subject: [PATCH] Use read byte rather than quick operation to check for presence of controller --- Controllers/ENESMBusController/ENESMBusControllerDetect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp b/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp index e7f2fea7d..0420deef7 100644 --- a/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp +++ b/Controllers/ENESMBusController/ENESMBusControllerDetect.cpp @@ -140,7 +140,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_write_quick(address, I2C_SMBUS_WRITE); + int res = bus->i2c_smbus_read_byte(address); if (res >= 0) {