mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Continuation of extracting peripheral configuration into drivers.
This commit is contained in:
parent
78ca635d26
commit
32622da0ab
17 changed files with 186 additions and 108 deletions
|
@ -145,7 +145,7 @@ void i2cInitPort(I2C_TypeDef *I2Cx)
|
|||
|
||||
void i2cInit(I2C_TypeDef *I2C)
|
||||
{
|
||||
i2cInitPort(I2C1);
|
||||
i2cInitPort(I2C1); // hard coded to use I2C1 for now
|
||||
}
|
||||
|
||||
uint16_t i2cGetErrorCounter(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue