cauqleuir madre
Dependencies: SDFileSystem mbed TFTLCD
Diff: main.cpp
- Revision:
- 39:52539bea375c
- Parent:
- 38:7a646be3854c
- Child:
- 40:72ed373557ea
--- 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++) {