提交 739bc6a2 编写于 作者: S SummerGift

[bsp][imxrt1052-evk]: fix parameter type incompatible error

上级 43e77850
......@@ -234,7 +234,7 @@ static void _search_i2c_device(rt_device_t dev, uint8_t cmd)
msgs[0].addr = i;
msgs[1].addr = i;
len = rt_i2c_transfer(dev, msgs, 2);
len = rt_i2c_transfer((struct rt_i2c_bus_device *)dev, msgs, 2);
if (len == 2)
{
count++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册