From 30c130dc10cd5f890c2ad534b97de1ceb2182d0a Mon Sep 17 00:00:00 2001 From: barthess Date: Sat, 18 Jun 2011 14:55:29 +0000 Subject: I2C. Dead code removed. Comments fixed. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3059 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/i2c_lld.h | 5 ++--- 1 file 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. **********************************/ -- cgit v1.2.3