aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-04 10:36:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-04 10:36:13 +0000
commit354a341507f6b174a576a8023f3f4bb2715b5b16 (patch)
tree6a9f01fa39787e5a9d2dee03e81e0555124d2ebe /os/hal/src
parentdfbe833d08e60a98b7edfe924b9cf9d1a60fd6fb (diff)
downloadChibiOS-354a341507f6b174a576a8023f3f4bb2715b5b16.tar.gz
ChibiOS-354a341507f6b174a576a8023f3f4bb2715b5b16.tar.bz2
ChibiOS-354a341507f6b174a576a8023f3f4bb2715b5b16.zip
Fixed some documentation errors.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3725 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r--os/hal/src/i2c.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index fb45ce6a5..42481a2fd 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -160,7 +160,7 @@ i2cflags_t i2cGetErrors(I2CDriver *i2cp) {
* @param[in] addr slave device address (7 bits) without R/W bit
* @param[in] txbuf pointer to transmit buffer
* @param[in] txbytes number of bytes to be transmitted
- * @param[in] rxbuf pointer to receive buffer
+ * @param[out] rxbuf pointer to receive buffer
* @param[in] rxbytes number of bytes to be received, set it to 0 if
* you want transmit only
* @param[in] timeout the number of ticks before the operation timeouts,
@@ -209,10 +209,8 @@ msg_t i2cMasterTransmitTimeout(I2CDriver *i2cp,
*
* @param[in] i2cp pointer to the @p I2CDriver object
* @param[in] addr slave device address (7 bits) without R/W bit
+ * @param[out] rxbuf pointer to receive buffer
* @param[in] rxbytes number of bytes to be received
- * @param[in] rxbuf pointer to receive buffer
- * @param[in] errors pointer to variable to store error code, zero means
- * no error.
* @param[in] timeout the number of ticks before the operation timeouts,
* the following special values are allowed:
* - @a TIME_INFINITE no timeout.