summaryrefslogtreecommitdiff
path: root/lib/oofatfs/ffconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oofatfs/ffconf.h')
-rw-r--r--lib/oofatfs/ffconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/oofatfs/ffconf.h b/lib/oofatfs/ffconf.h
index 214311b4c..a3795fa3f 100644
--- a/lib/oofatfs/ffconf.h
+++ b/lib/oofatfs/ffconf.h
@@ -343,6 +343,12 @@
/ SemaphoreHandle_t and etc.. A header file for O/S definitions needs to be
/ included somewhere in the scope of ff.h. */
+// Set to nonzero if buffers passed to disk_read have a word alignment
+// restriction
+#ifndef _FS_DISK_READ_ALIGNED
+#define _FS_DISK_READ_ALIGNED 0
+#endif
+
/* #include <windows.h> // O/S definitions */