mirror of https://github.com/RT-Thread/rt-thread
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:
parent
dc5e5b7fa6
commit
36a93a4e4a
Binary file not shown.
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue