maXTouch: Fix test of I2C_TRANSFER return value

This commit is contained in:
Gregory Nutt 2014-07-06 08:51:38 -06:00
parent 87055cff08
commit 56629f7fde

View File

@ -1027,6 +1027,9 @@ static int twi_registercallback(FAR struct i2c_dev_s *dev,
* Receive a block of data on I2C using the previously selected I2C
* frequency and slave address.
*
* Returned Value:
* Returns zero on success; a negated errno value on failure.
*
*******************************************************************************/
#ifdef CONFIG_I2C_TRANSFER