py/emitglue: Only compile raw-code fatfs loader when on thumb2 platform.

Here we are assuming that a thumb2 port will have fatfs, which is only
roughly true.  We need a better way of enabling specific raw-code file
readers.
This commit is contained in:
Damien George 2015-11-20 12:42:26 +00:00
parent d4dba88236
commit f148727b78
1 changed files with 2 additions and 2 deletions

View File

@ -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"