Skip to content

Commit b140740

Browse files
committed
[bsp][cvitek]:fix i2c
1 parent b540b28 commit b140740

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bsp/cvitek/drivers/drv_hw_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ int rt_hw_i2c_init(void)
584584

585585
for (rt_size_t i = 0; i < sizeof(_i2c_obj) / sizeof(struct dw_iic_bus); i++)
586586
{
587-
_i2c_obj->iic_base = (rt_ubase_t)DRV_IOREMAP((void *)_i2c_obj->iic_basee, 0x10000);
587+
_i2c_obj->iic_base = (rt_ubase_t)DRV_IOREMAP((void *)_i2c_obj->iic_base, 0x10000);
588588
dw_iic_init(_i2c_obj->iic_base);
589589

590590
_i2c_obj[i].parent.ops = &i2c_ops;

0 commit comments

Comments
 (0)