summaryrefslogtreecommitdiff
path: root/chip/stm32/i2c-stm32f.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/i2c-stm32f.c')
-rw-r--r--chip/stm32/i2c-stm32f.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/stm32/i2c-stm32f.c b/chip/stm32/i2c-stm32f.c
index 29d88b5660..52b56c363a 100644
--- a/chip/stm32/i2c-stm32f.c
+++ b/chip/stm32/i2c-stm32f.c
@@ -377,6 +377,10 @@ static void unwedge_i2c_bus(int port)
ASSERT(port == I2C1 || port == I2C2);
+ /*
+ * TODO(crosbug.com/p/23802): This requires defining GPIOs for both
+ * ports even if the board only supports one port.
+ */
if (port == I2C1) {
sda = GPIO_I2C1_SDA;
scl = GPIO_I2C1_SCL;