aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-28 12:31:47 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-28 12:31:47 +0000
commit152f34a80c6ffe5fd17809732272823091b854e8 (patch)
tree3fcd38b8c4e1cfb7bf45898b926558db492ff3a9 /os/hal/include
parent07556a2d033a33d1d4e5a1d75b93681851e485c7 (diff)
downloadChibiOS-152f34a80c6ffe5fd17809732272823091b854e8.tar.gz
ChibiOS-152f34a80c6ffe5fd17809732272823091b854e8.tar.bz2
ChibiOS-152f34a80c6ffe5fd17809732272823091b854e8.zip
I2C. Some refactorings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3000 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index c3e5c0538..1c9238859 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -150,8 +150,8 @@ struct I2CSlaveConfig{
/**
* @brief Receive and transmit buffers.
*/
- size_t tx_bytes;
- size_t rx_bytes;
+ size_t txbytes;
+ size_t rxbytes;
i2cblock_t *rxbuf; /*!< Pointer to receive buffer. */
i2cblock_t *txbuf; /*!< Pointer to transmit buffer.*/
uint16_t slave_addr;