i2c.hpp: fix doxygen comment for return of read()
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -106,7 +106,7 @@ class I2c {
|
|||||||
*
|
*
|
||||||
* @param data Data to read into
|
* @param data Data to read into
|
||||||
* @param length Size of read in bytes to make
|
* @param length Size of read in bytes to make
|
||||||
* @return pointer to std::string
|
* @return length of read, should match length
|
||||||
*/
|
*/
|
||||||
int read(uint8_t *data, int length) {
|
int read(uint8_t *data, int length) {
|
||||||
return mraa_i2c_read(m_i2c, data, length);
|
return mraa_i2c_read(m_i2c, data, length);
|
||||||
|
|||||||
Reference in New Issue
Block a user