CC3D - Disable I2C for now.

This commit is contained in:
Dominic Clifton 2014-07-17 23:50:14 +01:00
parent 79e1b3683f
commit 668e8f1298
1 changed files with 5 additions and 3 deletions

View File

@ -119,14 +119,16 @@ void systemInit(bool overclock)
// SysTick
SysTick_Config(SystemCoreClock / 1000);
// Configure the rest of the stuff
i2cInit(I2C2);
#ifdef CC3D
spiInit(SPI1);
spiInit(SPI2);
#endif
#ifndef CC3D
// Configure the rest of the stuff
i2cInit(I2C2);
#endif
// sleep for 100ms
delay(100);
}