mirror of https://github.com/ArduPilot/ardupilot
fixed the MPU6000 test sketch
This commit is contained in:
parent
07041c2149
commit
760aa62c75
|
@ -31,6 +31,10 @@ void setup(void)
|
||||||
isr_registry.init();
|
isr_registry.init();
|
||||||
scheduler.init(&isr_registry);
|
scheduler.init(&isr_registry);
|
||||||
|
|
||||||
|
// we need to stop the barometer from holding the SPI bus
|
||||||
|
pinMode(40, OUTPUT);
|
||||||
|
digitalWrite(40, HIGH);
|
||||||
|
|
||||||
ins.init(&scheduler);
|
ins.init(&scheduler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue