summaryrefslogtreecommitdiff
path: root/extmod/vfs_fat_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/vfs_fat_file.c')
-rw-r--r--extmod/vfs_fat_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/vfs_fat_file.c b/extmod/vfs_fat_file.c
index d3d437823..dccd12035 100644
--- a/extmod/vfs_fat_file.c
+++ b/extmod/vfs_fat_file.c
@@ -25,7 +25,7 @@
*/
#include "py/mpconfig.h"
-#if MICROPY_VFS || MICROPY_FSUSERMOUNT
+#if MICROPY_VFS
#include <stdio.h>
#include <errno.h>
@@ -322,4 +322,4 @@ mp_obj_t fatfs_builtin_open_self(mp_obj_t self_in, mp_obj_t path, mp_obj_t mode)
return file_open(self, &mp_type_textio, arg_vals);
}
-#endif // MICROPY_VFS || MICROPY_FSUSERMOUNT
+#endif // MICROPY_VFS