summaryrefslogtreecommitdiff
path: root/include/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/i2c.h')
-rw-r--r--include/i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 4022976dcb..8b53f5e836 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -167,9 +167,9 @@ extern const int i2c_test_dev_used;
/**
* Transmit one block of raw data, then receive one block of raw data. However,
- * received data might be capped at CONFIG_I2C_CHIP_MAX_READ_SIZE if
- * CONFIG_I2C_XFER_LARGE_READ is not defined. The transfer is strictly atomic,
- * by locking the I2C port and performing an I2C_XFER_SINGLE transfer.
+ * transferred data might be capped at CONFIG_I2C_CHIP_MAX_TRANSFER_SIZE if
+ * CONFIG_I2C_XFER_LARGE_TRANSFER is not defined. The transfer is strictly
+ * atomic, by locking the I2C port and performing an I2C_XFER_SINGLE transfer.
*
* @param port Port to access
* @param slave_addr Slave device address