1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Add MPU6500 SPI driver. Move sensor initialisation defines into target

specific headers.
This commit is contained in:
Dominic Clifton 2014-10-14 00:22:54 +01:00
parent 79c2e5648f
commit da51b5c479
19 changed files with 451 additions and 190 deletions

View file

@ -131,7 +131,7 @@ void systemInit(bool overclock)
// SysTick
SysTick_Config(SystemCoreClock / 1000);
#ifdef CC3D
#ifdef USE_SPI
spiInit(SPI1);
spiInit(SPI2);
#endif