mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fix a compile error in the i2c reset code.
This commit is contained in:
parent
0267782782
commit
fbf4c44230
@ -1982,8 +1982,8 @@ int up_i2creset(FAR struct i2c_dev_s * dev)
|
||||
struct stm32_i2c_priv_s * priv;
|
||||
unsigned int clock_count;
|
||||
unsigned int stretch_count;
|
||||
unit32_ scl_gpio;
|
||||
unit32_ sda_gpio;
|
||||
uint32_t scl_gpio;
|
||||
uint32_t sda_gpio;
|
||||
int ret = ERROR;
|
||||
irqstate_t state;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user