提交 36a93a4e 编写于 作者: W wangjiyang

added a document 2 bsp/evb4020/src & modified application.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1131 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 dc5e5b7f
......@@ -63,6 +63,7 @@ void rt_init_thread_entry(void* parameter)
else
rt_kprintf("haven't written\n");
lseek(fd,0,SEEK_SET);
sz = read(fd,buffer,sizeof(buffer));
......@@ -71,6 +72,7 @@ void rt_init_thread_entry(void* parameter)
rt_kprintf("READ %d:",sz);
while(sz--)
rt_kprintf("%c",buffer[sz]);//opposite
rt_kprintf("\n");
}
else
rt_kprintf("haven't read\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册