Merge pull request #1644 from liangyongxiang/examplers

[examples] fixed bug when device not found
This commit is contained in:
Bernard Xiong 2018-07-18 23:52:25 +08:00 committed by GitHub
commit a0112eb2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}