summaryrefslogtreecommitdiff
path: root/extmod/vfs_fat_file.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-02-15 10:39:56 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-02-15 10:39:56 +0200
commit4cd45f48b138c8af126a12a248fc07539ef03b5f (patch)
tree4e3561833a6843b9f2b99e082358fca927ef3e67 /extmod/vfs_fat_file.c
parent46a0ac02c529e8dd18feff0394ed5709db26dc2b (diff)
cc3200: Fix breakage after VfsFat refactor.
Diffstat (limited to 'extmod/vfs_fat_file.c')
-rw-r--r--extmod/vfs_fat_file.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extmod/vfs_fat_file.c b/extmod/vfs_fat_file.c
index 0c0ea84b3..f5dc565d1 100644
--- a/extmod/vfs_fat_file.c
+++ b/extmod/vfs_fat_file.c
@@ -25,7 +25,9 @@
*/
#include "py/mpconfig.h"
-#if MICROPY_FSUSERMOUNT
+// *_ADHOC part is for cc3200 port which doesn't use general uPy
+// infrastructure and instead duplicates code. TODO: Resolve.
+#if MICROPY_FSUSERMOUNT || MICROPY_FSUSERMOUNT_ADHOC
#include <stdio.h>
#include <errno.h>