summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAndrew Gatt <andrew.gatt@springltd.co>2017-01-31 08:27:40 +0000
committerDamien George <damien.p.george@gmail.com>2017-01-31 19:54:20 +1100
commit9d3c0d423e878edf1daa4ea836fc6879f519a438 (patch)
tree2b1bf440a8888e7d3081b319c8e7bcc56aef4d1e
parent8e008449298d95addf6bd56f448b0d100b163399 (diff)
downloadmicropython-9d3c0d423e878edf1daa4ea836fc6879f519a438.tar.gz
micropython-9d3c0d423e878edf1daa4ea836fc6879f519a438.zip
lib/oofatfs/ffconf.h: Add MICROPY_FATFS_NORTC option.
-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