aboutsummaryrefslogtreecommitdiff
path: root/extmod/vfs_fat_diskio.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-01-27 15:13:32 +1100
committerDamien George <damien.p.george@gmail.com>2017-01-27 17:19:06 +1100
commitfb3ae1784e1905709f82aadb7f1c8994682f9759 (patch)
treeaf7621f78dc2747dc4534903eb018c1745548b0d /extmod/vfs_fat_diskio.c
parentdcb9ea72157f1d9f3b0dc306c2c31cbd647f5ee1 (diff)
extmod/vfs_fat: Rework to support new generic VFS sub-system.
The VfsFat object can now be mounted by the generic VFS sub-system.
Diffstat (limited to 'extmod/vfs_fat_diskio.c')
-rw-r--r--extmod/vfs_fat_diskio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/vfs_fat_diskio.c b/extmod/vfs_fat_diskio.c
index 9e91b26f7..3bbd37435 100644
--- a/extmod/vfs_fat_diskio.c
+++ b/extmod/vfs_fat_diskio.c
@@ -28,7 +28,7 @@
*/
#include "py/mpconfig.h"
-#if MICROPY_FSUSERMOUNT
+#if MICROPY_VFS || MICROPY_FSUSERMOUNT
#include <stdint.h>
#include <stdio.h>
@@ -305,4 +305,4 @@ DRESULT disk_ioctl (
}
#endif
-#endif // MICROPY_FSUSERMOUNT
+#endif // MICROPY_VFS || MICROPY_FSUSERMOUNT