diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-29 19:20:27 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-30 12:26:08 +1100 |
commit | b697c890096805d9ccaf7553dbff5b82f5332609 (patch) | |
tree | 8d5ab2b4d16a7139189cb704b36e6ca957e1fb6a /extmod/vfs.c | |
parent | 9425bf5b2ba4a4b7f535c9e52add43fd1664802d (diff) |
extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat
specific things.
Diffstat (limited to 'extmod/vfs.c')
-rw-r--r-- | extmod/vfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extmod/vfs.c b/extmod/vfs.c index 97c9077a2..1eb26acf1 100644 --- a/extmod/vfs.c +++ b/extmod/vfs.c @@ -31,10 +31,13 @@ #include "py/objstr.h" #include "py/mperrno.h" #include "extmod/vfs.h" -#include "extmod/vfs_fat.h" #if MICROPY_VFS +#if MICROPY_VFS_FAT +#include "extmod/vfs_fat.h" +#endif + // path is the path to lookup and *path_out holds the path within the VFS // object (starts with / if an absolute path). // Returns MP_VFS_ROOT for root dir (and then path_out is undefined) and |