Merge pull request #816 from SummerGGift/master

[Device Drivers] delete an useless %s.
This commit is contained in:
Bernard Xiong 2017-08-20 11:31:40 +08:00 committed by GitHub
commit c0338d566c
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ rt_size_t rt_i2c_transfer(struct rt_i2c_bus_device *bus,
#ifdef RT_I2C_DEBUG
for (ret = 0; ret < num; ret++)
{
i2c_dbg("msgs[%d] %c, addr=0x%02x, len=%d%s\n", ret,
i2c_dbg("msgs[%d] %c, addr=0x%02x, len=%d\n", ret,
(msgs[ret].flags & RT_I2C_RD) ? 'R' : 'W',
msgs[ret].addr, msgs[ret].len);
}