diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-27 15:13:32 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-27 17:19:06 +1100 |
commit | fb3ae1784e1905709f82aadb7f1c8994682f9759 (patch) | |
tree | af7621f78dc2747dc4534903eb018c1745548b0d /extmod/vfs_fat_diskio.c | |
parent | dcb9ea72157f1d9f3b0dc306c2c31cbd647f5ee1 (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.c | 4 |
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 |