aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/gfile_fs_fatfs.c
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.io>2017-06-24 16:35:31 +1000
committerinmarket <inmarket@ugfx.io>2017-06-24 16:35:31 +1000
commit8561671cb8c8c81cca6407d47437a7238b111ada (patch)
tree02525a8d232375498816d1ad8c051cd86ac933cf /src/gfile/gfile_fs_fatfs.c
parent5c848859956d62098aa88fdb524faf8bf17fc386 (diff)
downloaduGFX-8561671cb8c8c81cca6407d47437a7238b111ada.tar.gz
uGFX-8561671cb8c8c81cca6407d47437a7238b111ada.tar.bz2
uGFX-8561671cb8c8c81cca6407d47437a7238b111ada.zip
Upgrade to from FATFS-0.10b to FATFS-0.13
Diffstat (limited to 'src/gfile/gfile_fs_fatfs.c')
-rw-r--r--src/gfile/gfile_fs_fatfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfile/gfile_fs_fatfs.c b/src/gfile/gfile_fs_fatfs.c
index d486e043..7f67cd76 100644
--- a/src/gfile/gfile_fs_fatfs.c
+++ b/src/gfile/gfile_fs_fatfs.c
@@ -87,7 +87,7 @@ static BYTE fatfs_flags2mode(GFILE* f)
if (f->flags & GFILEFLG_WRITE)
mode |= FA_WRITE;
if (f->flags & GFILEFLG_APPEND)
- mode |= 0; // ToDo
+ mode |= FA_OPEN_APPEND;
if (f->flags & GFILEFLG_TRUNC)
mode |= FA_CREATE_ALWAYS;