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.
Revision 4:2cb380415dc7, committed 2014-11-02
- Comitter:
- oprospero
- Date:
- Sun Nov 02 19:17:45 2014 +0000
- Parent:
- 3:8ac73f9099ab
- Commit message:
- Added reset function
Changed in this revision
--- a/I2Cdev/I2Cdev.cpp Wed Oct 15 04:59:22 2014 +0000
+++ b/I2Cdev/I2Cdev.cpp Sun Nov 02 19:17:45 2014 +0000
@@ -5,8 +5,8 @@
#include "I2Cdev.h"
-//#define useDebugSerial
-#ifdef useDebugSerial
+//#define _useDebugSerial
+#ifdef _useDebugSerial
Serial debugSerial(USBTX, USBRX);
#endif
--- a/inv_mpu.cpp Wed Oct 15 04:59:22 2014 +0000
+++ b/inv_mpu.cpp Sun Nov 02 19:17:45 2014 +0000
@@ -24,7 +24,8 @@
#include <math.h>
#include "inv_mpu.h"
-#ifdef DEBUG_MPU
+//#define _DEBUG_MPU
+#ifdef _DEBUG_MPU
Serial debug_mpu(USBTX, USBRX);
#define LN "\r\n"
#define BREAK debug_mpu.printf(LN)
--- a/inv_mpu.h Wed Oct 15 04:59:22 2014 +0000 +++ b/inv_mpu.h Sun Nov 02 19:17:45 2014 +0000 @@ -3,7 +3,6 @@ #include "I2Cdev.h" -//#define DEBUG_MPU
--- a/inv_mpu_dmp_motion_driver.cpp Wed Oct 15 04:59:22 2014 +0000
+++ b/inv_mpu_dmp_motion_driver.cpp Sun Nov 02 19:17:45 2014 +0000
@@ -545,7 +545,7 @@
void DMP_Motion_Driver::reset()
{
- reset();
+ mpu_reset();
}
/**