CC3D - Disable I2C for now.
This commit is contained in:
parent
79e1b3683f
commit
668e8f1298
|
@ -119,14 +119,16 @@ void systemInit(bool overclock)
|
||||||
// SysTick
|
// SysTick
|
||||||
SysTick_Config(SystemCoreClock / 1000);
|
SysTick_Config(SystemCoreClock / 1000);
|
||||||
|
|
||||||
// Configure the rest of the stuff
|
|
||||||
i2cInit(I2C2);
|
|
||||||
|
|
||||||
#ifdef CC3D
|
#ifdef CC3D
|
||||||
spiInit(SPI1);
|
spiInit(SPI1);
|
||||||
spiInit(SPI2);
|
spiInit(SPI2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CC3D
|
||||||
|
// Configure the rest of the stuff
|
||||||
|
i2cInit(I2C2);
|
||||||
|
#endif
|
||||||
|
|
||||||
// sleep for 100ms
|
// sleep for 100ms
|
||||||
delay(100);
|
delay(100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue