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

Allow disabling of I2C for targets that do not use it.

This commit is contained in:
Dominic Clifton 2014-09-26 01:14:39 +01:00
parent 15cbeff86e
commit 35280abfed
14 changed files with 46 additions and 11 deletions

View file

@ -131,7 +131,7 @@ void systemInit(bool overclock)
spiInit(SPI2);
#endif
#ifndef CC3D
#ifdef USE_I2C
// Configure the rest of the stuff
i2cInit(I2C_DEVICE);
#endif