MPU6050 library modified so I can use 2 IMUs
Dependents: MPU6050-DMP_sample
Fork of MPU6050 by
Diff: I2Cdev.cpp
- Revision:
- 1:1e0baaf91e96
- Parent:
- 0:662207e34fba
- Child:
- 2:f8bfb37b2e1f
diff -r 662207e34fba -r 1e0baaf91e96 I2Cdev.cpp --- a/I2Cdev.cpp Fri Jan 11 00:54:28 2013 +0000 +++ b/I2Cdev.cpp Wed May 08 00:34:55 2013 +0000 @@ -137,6 +137,7 @@ for(int i =0; i < length; i++) { data[i] = redData[i]; } + free (redData); return length; }