summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
Diffstat (limited to 'py')
-rw-r--r--py/emitglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/emitglue.c b/py/emitglue.c
index 7486063593..4731af992d 100644
--- a/py/emitglue.c
+++ b/py/emitglue.c
@@ -372,8 +372,8 @@ mp_raw_code_t *mp_raw_code_load_file(const char *filename) {
return rc;
}
-#else
-// fatfs file reader
+#elif defined(__thumb2__)
+// fatfs file reader (assume thumb2 arch uses fatfs...)
#include "lib/fatfs/ff.h"