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