diff options
Diffstat (limited to 'os/hal/include/i2c.h')
-rw-r--r-- | os/hal/include/i2c.h | 4 |
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;
|