mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-12 02:48:28 -04:00
fixed the MPU6000 test sketch
This commit is contained in:
parent
85167be181
commit
71e08f8484
@ -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
Block a user