diff --git a/api/mraa/i2c.hpp b/api/mraa/i2c.hpp index e67dd95..8a49be3 100644 --- a/api/mraa/i2c.hpp +++ b/api/mraa/i2c.hpp @@ -83,9 +83,9 @@ class I2c { /** * Read exactly one byte from the bus * - * @return Char read from the bus + * @return char read from the bus */ - unsigned char readByte() { + unsigned char read() { return (unsigned char) mraa_i2c_read_byte(m_i2c); } /**