mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-24 17:33:58 +08:00
修复I2C驱动一个粗心BUG
I2C2_BUS_CONFIG改为I2C3_BUS_CONFIG
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user