Trivial update to C comments

This commit is contained in:
Gregory Nutt 2016-01-01 12:17:40 -06:00
parent b323e1d5ff
commit b29ec04459
1 changed files with 2 additions and 2 deletions

View File

@ -1044,7 +1044,7 @@ static int twi_writeread(FAR struct i2c_dev_s *dev, const uint8_t *wbuffer,
msgv[0].buffer = (uint8_t *)wbuffer; /* Override const */
msgv[0].length = wbuflen;
/* The second is either a read (rbuflen > 0) or a write (rbuflen < 0) with
/* The second is either a read (rbuflen > 0) or a write (rbuflen <= 0) with
* no restart.
*/
@ -1066,7 +1066,7 @@ static int twi_writeread(FAR struct i2c_dev_s *dev, const uint8_t *wbuffer,
twi_takesem(&priv->exclsem);
/* Initiate the read */
/* Perform the write-read */
priv->msg = msgv;
priv->msgc = 2;