MPU6050 library modified so I can use 2 IMUs

Dependents:   MPU6050-DMP_sample

Fork of MPU6050 by Shundo Kishi

Revision:
1:1e0baaf91e96
Parent:
0:662207e34fba
Child:
2:f8bfb37b2e1f
--- 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;
 }