MPU6k: don't init the Wire library

we don't use Wire any more
This commit is contained in:
Andrew Tridgell 2011-12-28 20:35:52 +11:00
parent 1cc38b0701
commit 9ef1c421bd
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@
//
#include <FastSerial.h>
#include <Wire.h>
#include <SPI.h>
#include <Arduino_Mega_ISR_Registry.h>
#include <AP_PeriodicProcess.h>
@ -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