修复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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
};