summaryrefslogtreecommitdiff
path: root/common/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/i2c.c')
-rw-r--r--common/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/i2c.c b/common/i2c.c
index 2db40bdf21..5e38ddd200 100644
--- a/common/i2c.c
+++ b/common/i2c.c
@@ -343,7 +343,7 @@ static void scan_bus(int port, const char *desc)
watchdog_reload(); /* Otherwise a full scan trips watchdog */
ccputs(".");
-#ifdef CHIP_FAMILY_stm32f
+#ifdef CHIP_FAMILY_STM32F
/*
* TODO(crosbug.com/p/23569): The i2c_xfer() implementation on
* STM32F can't read a byte without writing one first. So