Skip to content

Commit 871ce8e

Browse files
committed
fix(autoconfig): don't run against 0x51 (PCF8563)
1 parent fe43d5a commit 871ce8e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/i2c/controller.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,8 @@ bool I2cController::Handle_I2cDeviceAddOrReplace(pb_istream_t *stream) {
10581058
return true;
10591059
}
10601060
WS_DEBUG_PRINTLN("Attempting to autoconfig device found in scan...");
1061-
if (device_descriptor.i2c_device_address == 0x68 ||
1061+
if (device_descriptor.i2c_device_address == 0x51 ||
1062+
device_descriptor.i2c_device_address == 0x68 ||
10621063
device_descriptor.i2c_device_address == 0x70) {
10631064
WS_DEBUG_PRINTLN("[i2c] Device address is shared with RTC/MUX, can not "
10641065
"auto-init, skipping!");

0 commit comments

Comments
 (0)