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
This commit is contained in:
wangjiyang 2010-11-28 08:44:48 +00:00
parent dc5e5b7fa6
commit 36a93a4e4a
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -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");