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 71dfaabcb9..315101f0e4 100644
--- a/lib/oofatfs/ffconf.h
+++ b/lib/oofatfs/ffconf.h
@@ -278,7 +278,11 @@
/ Note that enabling exFAT discards C89 compatibility. */
+#ifdef MICROPY_FATFS_NORTC
+#define _FS_NORTC (MICROPY_FATFS_NORTC)
+#else
#define _FS_NORTC 0
+#endif
#define _NORTC_MON 1
#define _NORTC_MDAY 1
#define _NORTC_YEAR 2016