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:
parent
15cbeff86e
commit
35280abfed
14 changed files with 46 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue