summaryrefslogtreecommitdiff
path: root/ports/stm32
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-06-06 12:00:23 +1000
committerDamien George <damien.p.george@gmail.com>2018-06-06 14:28:23 +1000
commitf35aae366c4fd54a166960f830b4f93608d847cb (patch)
tree3ab48acc719329c066096fe648cb837e123887f5 /ports/stm32
parent172c23fe5d2efd464433c1d80304b8f3d54e7961 (diff)
extmod/vfs_fat: Rename FileIO/TextIO types to mp_type_vfs_fat_XXX.
So they don't clash with other VFS implementations.
Diffstat (limited to 'ports/stm32')
-rw-r--r--ports/stm32/mpconfigport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/stm32/mpconfigport.h b/ports/stm32/mpconfigport.h
index 7bd944213..ecb3596ff 100644
--- a/ports/stm32/mpconfigport.h
+++ b/ports/stm32/mpconfigport.h
@@ -161,8 +161,8 @@
#define MICROPY_FATFS_MULTI_PARTITION (1)
// TODO these should be generic, not bound to fatfs
-#define mp_type_fileio fatfs_type_fileio
-#define mp_type_textio fatfs_type_textio
+#define mp_type_fileio mp_type_vfs_fat_fileio
+#define mp_type_textio mp_type_vfs_fat_textio
// use vfs's functions for import stat and builtin open
#define mp_import_stat mp_vfs_import_stat