mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-03 21:25:28 +08:00
修改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
|
||||
#define I2C4_BUS_CONFIG \
|
||||
#define I2C0_BUS_CONFIG \
|
||||
{ \
|
||||
.scl = BSP_I2C0_SCL_PIN, \
|
||||
.sda = BSP_I2C0_SDA_PIN, \
|
||||
|
Loading…
x
Reference in New Issue
Block a user