diff options
author | Karl Palsson <karlp@etactica.com> | 2018-06-07 15:01:11 +0300 |
---|---|---|
committer | Karl Palsson <karlp@etactica.com> | 2018-06-07 15:01:11 +0300 |
commit | 2352d5d1fb1c05adebc60f1aea9a56a2d0ae5b8c (patch) | |
tree | 9c8502e2e74799705ecee680815c48f8b1fd4e87 /include/libopencm3/stm32/common/i2c_common_v2.h | |
parent | dc64929b78e5e0ba3be31577a0804f95c92b52cd (diff) |
stm32: i2c-v2: Fix typo in CR1_ADDRIE
Reported in: https://github.com/libopencm3/libopencm3/issues/925
Diffstat (limited to 'include/libopencm3/stm32/common/i2c_common_v2.h')
-rw-r--r-- | include/libopencm3/stm32/common/i2c_common_v2.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |