From e1c9c063a54f165b327ba82931ca4c66cf0c80bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 28 Dec 2011 20:35:52 +1100 Subject: [PATCH] MPU6k: don't init the Wire library we don't use Wire any more --- libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde index c67db6b62f..40067b4500 100644 --- a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde +++ b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde @@ -5,7 +5,6 @@ // #include -#include #include #include #include @@ -24,7 +23,6 @@ void setup(void) Serial.begin(115200); Serial.println("Doing INS startup..."); - Wire.begin(); SPI.begin(); SPI.setClockDivider(SPI_CLOCK_DIV16); // 1MHZ SPI rate