未验证 提交 75a2fe4d 编写于 作者: T Tanek 提交者: GitHub

Merge pull request #1328 from SummerGGift/2018329

 [bsp][imxrt1052-evk]: fix parameter type incompatible error
......@@ -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.
先完成此消息的编辑!
想要评论请 注册