It is the library published by sparkfun, edited accordingly to make it work under mbed platform.
Dependents: MPU9250-dmp-bluepill MPU9250-dmp
Diff: SparkFunMPU9250-DMP.cpp
- Revision:
- 1:80a269cb9d4d
- Parent:
- 0:d1f0ae13f4a7
- Child:
- 2:c35f8379f2cb
--- a/SparkFunMPU9250-DMP.cpp Mon Aug 07 13:50:23 2017 +0000 +++ b/SparkFunMPU9250-DMP.cpp Tue Aug 08 14:14:58 2017 +0000 @@ -234,7 +234,6 @@ unsigned short MPU9250_DMP::fifoAvailable(void) { unsigned char fifoH, fifoL; - if (mpu_read_reg(MPU9250_FIFO_COUNTH, &fifoH) != INV_SUCCESS) return 0; if (mpu_read_reg(MPU9250_FIFO_COUNTL, &fifoL) != INV_SUCCESS)