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