mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
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:
parent
ff88313462
commit
0bab36a95a
@ -81,7 +81,7 @@ MPU9150::getDeviceID () {
|
||||
return regData;
|
||||
}
|
||||
|
||||
mraa_result_t
|
||||
void
|
||||
MPU9150::getData () {
|
||||
uint8_t buffer[14];
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user