未验证 提交 76c30dc3 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1400 from JinglongZhang/master

fix an i2c debug print bug
......@@ -57,7 +57,7 @@ static rt_size_t i2c_bus_device_write(rt_device_t dev,
RT_ASSERT(bus != RT_NULL);
RT_ASSERT(buffer != RT_NULL);
i2c_dbg("I2C bus dev writing %u bytes.\n", dev->parent.name, count);
i2c_dbg("I2C bus dev [%s] writing %u bytes.\n", dev->parent.name, count);
addr = pos & 0xffff;
flags = (pos >> 16) & 0xffff;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册