修复I2C驱动一个粗心BUG

I2C2_BUS_CONFIG改为I2C3_BUS_CONFIG
This commit is contained in:
e190
2018-12-13 08:33:21 +08:00
committed by GitHub
parent e296967000
commit 3af4e3b404

View File

@@ -32,7 +32,7 @@ static const struct stm32_soft_i2c_config soft_i2c_config[] =
I2C2_BUS_CONFIG,
#endif
#ifdef BSP_USING_I2C3
I2C2_BUS_CONFIG,
I2C3_BUS_CONFIG,
#endif
};