summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormazhiyuan <[email protected]>2021-10-25 14:10:58 +0800
committermazhiyuan <[email protected]>2021-10-25 14:10:58 +0800
commit41af94494943d4fab901ea946dd278e32bcaa900 (patch)
tree0ad4aec7980197ece138cc6111d41fc0bba72f80 /components
parent39933d7305bd173a7c4631fc26d10eed5ff062e2 (diff)
update ffconf.h
Diffstat (limited to 'components')
-rw-r--r--components/dfs/filesystems/elmfat/ffconf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/components/dfs/filesystems/elmfat/ffconf.h b/components/dfs/filesystems/elmfat/ffconf.h
index 0965f8a411..be6cf442db 100644
--- a/components/dfs/filesystems/elmfat/ffconf.h
+++ b/components/dfs/filesystems/elmfat/ffconf.h
@@ -260,8 +260,11 @@
/ Instead of private sector buffer eliminated from the file object, common sector
/ buffer in the filesystem object (FATFS) is used for the file data transfer. */
-
-#define FF_FS_EXFAT 0
+#ifdef RT_DFS_ELM_USE_EXFAT
+#define FF_FS_EXFAT 1
+#else
+#define FF_FS_EXFAT 0
+#endif
/* This option switches support for exFAT filesystem. (0:Disable or 1:Enable)
/ To enable exFAT, also LFN needs to be enabled. (FF_USE_LFN >= 1)
/ Note that enabling exFAT discards ANSI C (C89) compatibility. */