mirror of https://github.com/ArduPilot/ardupilot
MPU6k: don't init the Wire library
we don't use Wire any more
This commit is contained in:
parent
955dfe0226
commit
e1c9c063a5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue