From c28eea88f70fdcaade2dec3e3fb5cadc61e1cddd Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Wed, 14 Jan 2015 11:46:33 +0000 Subject: [PATCH] i2c.hpp: fix doxygen comment for return of read() Signed-off-by: Brendan Le Foll --- api/mraa/i2c.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/mraa/i2c.hpp b/api/mraa/i2c.hpp index 9069816..a87902a 100644 --- a/api/mraa/i2c.hpp +++ b/api/mraa/i2c.hpp @@ -106,7 +106,7 @@ class I2c { * * @param data Data to read into * @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) { return mraa_i2c_read(m_i2c, data, length);