Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of eMPL_MPU6050 by
Revision 3:b931c48531b4, committed 2015-11-28
- Comitter:
- richterfilip
- Date:
- Sat Nov 28 16:33:26 2015 +0000
- Parent:
- 2:6c7eb2f19ada
- Commit message:
- Some debug changes, return codes are separated and propagated
Changed in this revision
inv_mpu.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/inv_mpu.c Fri Nov 27 21:12:04 2015 +0000 +++ b/inv_mpu.c Sat Nov 28 16:33:26 2015 +0000 @@ -1859,7 +1859,7 @@ fifo_count = (tmp[0] << 8) | tmp[1]; if (fifo_count < length) { more[0] = 0; - return -13000+length; + return -13; } if (fifo_count > (st.hw->max_fifo >> 1)) { /* FIFO is 50% full, better check overflow bit. */