mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
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:
1 parent
dc5e5b7fa6
commit
36a93a4e4a
2 files changed
+2
No files matched your search
Executable
BIN
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");
|
||||
|
||||
Reference in new issue
Block a user