diff --git a/src/mpu9150/mpu9150.cxx b/src/mpu9150/mpu9150.cxx index 1d139931..774139c7 100644 --- a/src/mpu9150/mpu9150.cxx +++ b/src/mpu9150/mpu9150.cxx @@ -81,7 +81,7 @@ MPU9150::getDeviceID () { return regData; } -mraa_result_t +void MPU9150::getData () { uint8_t buffer[14]; diff --git a/src/mpu9150/mpu9150.h b/src/mpu9150/mpu9150.h index 1638be4e..2c7bbdbe 100644 --- a/src/mpu9150/mpu9150.h +++ b/src/mpu9150/mpu9150.h @@ -159,7 +159,7 @@ class MPU9150 { * Get the Accelerometer, Gyro and Compass data from the chip and * save it in private section. */ - mraa_result_t getData (); + void getData (); /** * @param data structure with 3 axis (x,y,z)