Re #3001: f_open() did not support append mode (in simulator only)

This commit is contained in:
Damjan Adamic
2015-10-27 23:59:18 +01:00
parent 2feb5ac894
commit d3e2a00cd2
2 changed files with 20 additions and 3 deletions
+5 -1
View File
@@ -238,7 +238,11 @@ TCHAR* f_gets (TCHAR* buff, int len, FIL* fp); /* Get a string from the fil
#define f_eof(fp) ((int)((fp)->fptr == (fp)->fsize))
#define f_error(fp) ((fp)->err)
#define f_tell(fp) ((fp)->fptr)
#define f_size(fp) ((fp)->fsize)
#if !defined(SIMU)
#define f_size(fp) ((fp)->fsize)
#else
UINT f_size(FIL* fil);
#endif
#ifndef EOF
#define EOF (-1)