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
Revision 6:7469a85601f1, committed 2017-08-14
- Comitter:
- mbedoguz
- Date:
- Mon Aug 14 07:36:07 2017 +0000
- Parent:
- 5:e4e36c17ba70
- Commit message:
- get_ms now returns the counter.
Changed in this revision
mdcompat.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e4e36c17ba70 -r 7469a85601f1 mdcompat.cpp --- 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(