stm32: i2c-v2: Fix typo in CR1_ADDRIE

Reported in: https://github.com/libopencm3/libopencm3/issues/925
This commit is contained in:
Karl Palsson 2018-06-07 12:01:11 +00:00
parent dc64929b78
commit 2352d5d1fb

View File

@ -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)