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

Merge pull request #1644 from liangyongxiang/examplers

[examples] fixed bug when device not found
......@@ -480,7 +480,7 @@ int device_test(const char * device_name)
device = rt_device_find(device_name);
if( device == RT_NULL)
{
rt_kprintf("device %s: not found!\r\n");
rt_kprintf("device %s: not found!\r\n", device_name);
return RT_ERROR;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册