diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-21 20:14:27 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-21 20:14:27 +0100 |
commit | aa7cf6f72f4e8a553f892629bb3338ab8c982d57 (patch) | |
tree | b16167eecc2c5e8e5f84bd710308366a166c55e8 /stm/import.c | |
parent | 63436ce22ee20f56b0083f846261c0b77af9961b (diff) |
stm: Remove long-obsolete stm/ port.
Diffstat (limited to 'stm/import.c')
-rw-r--r-- | stm/import.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/stm/import.c b/stm/import.c deleted file mode 100644 index 3d62c6425..000000000 --- a/stm/import.c +++ /dev/null @@ -1,20 +0,0 @@ -#include <stdint.h> - -#include "misc.h" -#include "mpconfig.h" -#include "qstr.h" -#include "lexer.h" -#include "ff.h" - -mp_import_stat_t mp_import_stat(const char *path) { - FILINFO fno; - FRESULT res = f_stat(path, &fno); - if (res == FR_OK) { - if ((fno.fattrib & AM_DIR) != 0) { - return MP_IMPORT_STAT_DIR; - } else { - return MP_IMPORT_STAT_FILE; - } - } - return MP_IMPORT_STAT_NO_EXIST; -} |