aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-18 14:55:29 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-18 14:55:29 +0000
commit30c130dc10cd5f890c2ad534b97de1ceb2182d0a (patch)
treebd20e7bff4fe31bd6bd859e656fa5177df36da67 /os/hal/platforms
parent3e1753aa83c99406aa8bec70ce82d80556142d2c (diff)
downloadChibiOS-30c130dc10cd5f890c2ad534b97de1ceb2182d0a.tar.gz
ChibiOS-30c130dc10cd5f890c2ad534b97de1ceb2182d0a.tar.bz2
ChibiOS-30c130dc10cd5f890c2ad534b97de1ceb2182d0a.zip
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
Diffstat (limited to 'os/hal/platforms')
-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. **********************************/