aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/platforms/STM32/i2c_lld.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h
index 815e451f0..bfcd5ca91 100644
--- a/os/hal/platforms/STM32/i2c_lld.h
+++ b/os/hal/platforms/STM32/i2c_lld.h
@@ -163,9 +163,8 @@ struct I2CDriver{
*/
I2CSlaveConfig *id_slave_config;
- uint8_t slave_addr1; // 7-bit address of the slave
- uint8_t slave_addr2; // used in 10-bit address mode
- uint8_t nbit_addr;
+ uint8_t slave_addr1; /*!< 7-bit address of the slave with r\w bit.*/
+ uint8_t slave_addr2; /*!< used in 10-bit address mode. */
/*********** End of the mandatory fields. **********************************/