From b58ac190bb279ae59028aa7684350b1672308a0a Mon Sep 17 00:00:00 2001 From: Angus Peart Date: Tue, 27 Jan 2015 15:06:38 +1100 Subject: [PATCH] Fixed unwanted deletions... --- lib/stm32/common/i2c_common_all.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/stm32/common/i2c_common_all.c b/lib/stm32/common/i2c_common_all.c index 1c86568e..41cc6e6a 100644 --- a/lib/stm32/common/i2c_common_all.c +++ b/lib/stm32/common/i2c_common_all.c @@ -155,8 +155,11 @@ void i2c_set_own_7bit_slave_address(uint32_t i2c, uint8_t slave) /*---------------------------------------------------------------------------*/ /** @brief I2C Set the 10 bit Slave Address for the Peripheral. + This sets an address for Slave mode operation, in 10 bit form. + @todo add "I2C_OAR1(i2c) |= (1 << 14);" as above + @param[in] i2c Unsigned int32. I2C register base address @ref i2c_reg_base. @param[in] slave Unsigned int16. Slave address 0...1023. */