提交 00d80e17 编写于 作者: X xiaoxiaolisunny 提交者: mysterywolf

修改I2C0_BUS_CONFIG定义错误

修改drv_soft_i2c.h中I2C0_BUS_CONFIG定义错误问题。
上级 1831661c
...@@ -36,7 +36,7 @@ struct gd32_i2c ...@@ -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, \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册