aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/i2c_lld.h')
-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. */