Skip to content

Commit 44278c2

Browse files
committed
update Kconfig
1 parent 20dc054 commit 44278c2

File tree

1 file changed

+2
-2
lines changed
  • bsp/bouffalo_lab/libraries/rt_drivers

1 file changed

+2
-2
lines changed

bsp/bouffalo_lab/libraries/rt_drivers/drv_i2c.c

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ int rt_hw_i2c_init(void)
9999
bflb_gpio_init(gpio, I2C0_GPIO_SCL, GPIO_FUNC_I2C0 | GPIO_ALTERNATE | GPIO_PULLUP | GPIO_SMT_EN | GPIO_DRV_1);
100100
/* I2C0_SDA */
101101
bflb_gpio_init(gpio, I2C0_GPIO_SDA, GPIO_FUNC_I2C0 | GPIO_ALTERNATE | GPIO_PULLUP | GPIO_SMT_EN | GPIO_DRV_1);
102-
102+
103103
/* init i2c bus device */
104104
rt_mutex_init(&i2c_bus0.lock, "i2c0_mutex", RT_IPC_FLAG_PRIO);
105105

@@ -172,4 +172,4 @@ int rt_hw_i2c_init(void)
172172
}
173173
INIT_BOARD_EXPORT(rt_hw_i2c_init);
174174

175-
#endif /* BSP_USING_I2C */
175+
#endif /* BSP_USING_I2C */

0 commit comments

Comments
 (0)