mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
CC3D - Support MPU6000 Gyro/Acc and SPI 1/2.
This commit is contained in:
parent
1fb75890d5
commit
5f16cfb72a
12 changed files with 647 additions and 48 deletions
|
@ -121,7 +121,11 @@ void systemInit(bool overclock)
|
|||
|
||||
// Configure the rest of the stuff
|
||||
i2cInit(I2C2);
|
||||
spiInit();
|
||||
|
||||
#ifdef CC3D
|
||||
spiInit(SPI1);
|
||||
spiInit(SPI2);
|
||||
#endif
|
||||
|
||||
// sleep for 100ms
|
||||
delay(100);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue