updated chan_fatfs
Fork of chan_fatfs by
Diff: ff.h
- Revision:
- 8:1f9748c6b865
- Parent:
- 4:f88948891a05
--- a/ff.h Wed Dec 12 16:44:58 2012 +0000 +++ b/ff.h Fri Dec 28 17:12:02 2012 +0000 @@ -445,6 +445,8 @@ char* f_gets (char*, int, FIL*); /* Get a string from the file */ #define f_eof(fp) (((fp)->fptr == (fp)->fsize) ? 1 : 0) #define f_error(fp) (((fp)->flag & FA__ERROR) ? 1 : 0) +#define f_tell(fp) ((fp)->fptr) // NOT TESTED!!! +#define f_size(fp) ((fp)->fsize) #ifndef EOF #define EOF -1 #endif