summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--lib/oofatfs/ffconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/oofatfs/ffconf.h b/lib/oofatfs/ffconf.h
index 4f37bb9cad..71dfaabcb9 100644
--- a/lib/oofatfs/ffconf.h
+++ b/lib/oofatfs/ffconf.h
@@ -268,7 +268,11 @@
/ buffer in the file system object (FATFS) is used for the file data transfer. */
+#ifdef MICROPY_FATFS_EXFAT
+#define _FS_EXFAT (MICROPY_FATFS_EXFAT)
+#else
#define _FS_EXFAT 0
+#endif
/* This option switches support of exFAT file system. (0:Disable or 1:Enable)
/ When enable exFAT, also LFN needs to be enabled. (_USE_LFN >= 1)
/ Note that enabling exFAT discards C89 compatibility. */