Private
Public Access
2
0

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:
Brendan Le Foll
2015-01-14 11:46:33 +00:00
parent f51afc1fbc
commit c28eea88f7

View File

@@ -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);