aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-02 18:17:16 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-02 18:17:16 +0000
commitfc44d8dbc601e9fa20c8c32402944faf11fe67c2 (patch)
treed1830abe0c7f19a884f837d730ae92121d14e9a7 /os/hal
parent7f64ca7a5df5271be95ff59a94d6c59b1ffea663 (diff)
downloadChibiOS-fc44d8dbc601e9fa20c8c32402944faf11fe67c2.tar.gz
ChibiOS-fc44d8dbc601e9fa20c8c32402944faf11fe67c2.tar.bz2
ChibiOS-fc44d8dbc601e9fa20c8c32402944faf11fe67c2.zip
I2C. Deleted unneeded __IO macro from driver fields.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3710 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h
index 8e62bea88..5a3757d88 100644
--- a/os/hal/platforms/STM32/i2c_lld.h
+++ b/os/hal/platforms/STM32/i2c_lld.h
@@ -305,11 +305,11 @@ struct I2CDriver{
*/
const I2CConfig *config;
- __IO size_t txbytes; /*!< @brief Number of bytes to be transmitted. */
- __IO size_t rxbytes; /*!< @brief Number of bytes to be received. */
+ size_t txbytes; /*!< @brief Number of bytes to be transmitted. */
+ size_t rxbytes; /*!< @brief Number of bytes to be received. */
uint8_t *rxbuf; /*!< @brief Pointer to receive buffer. */
- __IO i2cflags_t errors; /*!< @brief Error flags.*/
+ i2cflags_t errors; /*!< @brief Error flags.*/
i2caddr_t slave_addr; /*!< @brief Current slave address without R/W bit. */