diff --git a/include/libopencm3/stm32/common/i2c_common_v2.h b/include/libopencm3/stm32/common/i2c_common_v2.h index 5a6e1950..c5f5bafe 100644 --- a/include/libopencm3/stm32/common/i2c_common_v2.h +++ b/include/libopencm3/stm32/common/i2c_common_v2.h @@ -154,7 +154,7 @@ specific memorymap.h header before including this header file.*/ #define I2C_CR1_NACKIE (1 << 4) /* ADDRIE: Address match Interrupt enable (slave only) */ -#define I2C_CR1_DDRIE (1 << 3) +#define I2C_CR1_ADDRIE (1 << 3) /* RXIE: RX Interrupt enable */ #define I2C_CR1_RXIE (1 << 2)