diff options
Diffstat (limited to 'cc3200/fatfs/src/ffconf.c')
-rw-r--r-- | cc3200/fatfs/src/ffconf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cc3200/fatfs/src/ffconf.c b/cc3200/fatfs/src/ffconf.c index 5726db1bc5..71ef6a40b9 100644 --- a/cc3200/fatfs/src/ffconf.c +++ b/cc3200/fatfs/src/ffconf.c @@ -27,9 +27,9 @@ #include <string.h> #include "py/mpstate.h" -#include "ff.h" -#include "ffconf.h" -#include "diskio.h" +#include "lib/fatfs/ff.h" +#include "lib/fatfs/ffconf.h" +#include "lib/fatfs/diskio.h" #include "moduos.h" #if _FS_RPATH @@ -65,7 +65,7 @@ int ff_get_ldnumber (const TCHAR **path) { } if (check_path(path, "/flash", 6)) { - return FLASH; + return PD_FLASH; } else { for (mp_uint_t i = 0; i < MP_STATE_PORT(mount_obj_list).len; i++) { @@ -80,7 +80,7 @@ int ff_get_ldnumber (const TCHAR **path) { } void ff_get_volname(BYTE vol, TCHAR **dest) { - if (vol == FLASH) { + if (vol == PD_FLASH) { memcpy(*dest, "/flash", 6); *dest += 6; } else { |