mpu9150: getData() does not return a value

defect #242

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Jon Trulson 2015-06-10 14:57:10 -06:00 committed by Mihai Tudor Panu
parent ff88313462
commit 0bab36a95a
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ MPU9150::getDeviceID () {
return regData;
}
mraa_result_t
void
MPU9150::getData () {
uint8_t buffer[14];

View File

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