1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +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

@ -162,6 +162,7 @@ void i2cInitPort(I2C_TypeDef *I2Cx)
void i2cInit(I2CDevice index)
{
UNUSED(index);
i2cInitPort(I2C1); // FIXME hard coded to use I2C1 for now
}