It is modified accordingly to work with sparkfun dmp library under mbed platform

Dependents:   MPU9250-dmp-bluepill MPU9250-dmp

Fork of MotionDriver_6_1 by Prosper Van

Revision:
6:7469a85601f1
Parent:
5:e4e36c17ba70
--- a/mdcompat.cpp	Fri Aug 11 07:42:24 2017 +0000
+++ b/mdcompat.cpp	Mon Aug 14 07:36:07 2017 +0000
@@ -63,7 +63,7 @@
 int get_ms(
     unsigned long *count=(unsigned long*)malloc(sizeof(unsigned long))) {
         *count=stamper_count;
-    return 0;
+    return (int)stamper_count;
 }
 
 int reg_int_cb(