cauqleuir madre
Dependencies: SDFileSystem mbed TFTLCD
Revision 39:52539bea375c, committed 2013-02-02
- Comitter:
- Danton
- Date:
- Sat Feb 02 04:39:21 2013 +0000
- Parent:
- 38:7a646be3854c
- Child:
- 40:72ed373557ea
- Commit message:
- resotred seek_set
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Feb 02 04:36:26 2013 +0000 +++ b/main.cpp Sat Feb 02 04:39:21 2013 +0000 @@ -21,7 +21,7 @@ //fprintf(fp, "Hello fun SD Card World!\c\n"); //fread ( void * ptr, size_t size, size_t count, FILE * stream ); printf("offset at ssd %d\n",offset); - fseek(fp, offset,SEEK_CUR); + fseek(fp, offset,SEEK_SET); fread((char*)buffer,1,bytes,fp); for(int i=0; i<bytes;i++) {