mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Added I2C clock stretching.
This commit is contained in:
parent
08ff559ccf
commit
16d9a952a2
2 changed files with 5 additions and 0 deletions
|
@ -101,6 +101,8 @@ void i2cInit(I2CDevice device)
|
|||
|
||||
I2C_Init(I2Cx, &i2cInit);
|
||||
|
||||
I2C_StretchClockCmd(I2Cx, ENABLE);
|
||||
|
||||
I2C_Cmd(I2Cx, ENABLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue