From fc44d8dbc601e9fa20c8c32402944faf11fe67c2 Mon Sep 17 00:00:00 2001 From: barthess Date: Mon, 2 Jan 2012 18:17:16 +0000 Subject: 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 --- os/hal/platforms/STM32/i2c_lld.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os') 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. */ -- cgit v1.2.3