修改I2C0_BUS_CONFIG定义错误
修改drv_soft_i2c.h中I2C0_BUS_CONFIG定义错误问题。
This commit is contained in:
parent
1831661c4a
commit
00d80e17c5
|
@ -36,7 +36,7 @@ struct gd32_i2c
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef BSP_USING_I2C0
|
#ifdef BSP_USING_I2C0
|
||||||
#define I2C4_BUS_CONFIG \
|
#define I2C0_BUS_CONFIG \
|
||||||
{ \
|
{ \
|
||||||
.scl = BSP_I2C0_SCL_PIN, \
|
.scl = BSP_I2C0_SCL_PIN, \
|
||||||
.sda = BSP_I2C0_SDA_PIN, \
|
.sda = BSP_I2C0_SDA_PIN, \
|
||||||
|
|
Loading…
Reference in New Issue