1
0
Fork 0
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:
Dominic Clifton 2014-06-04 14:53:34 +01:00
parent 78ca635d26
commit 32622da0ab
17 changed files with 186 additions and 108 deletions

View file

@ -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)