diff options
| author | danicampora <danicampora@gmail.com> | 2015-02-21 14:10:33 +0100 |
|---|---|---|
| committer | danicampora <danicampora@gmail.com> | 2015-02-21 14:19:40 +0100 |
| commit | c020109cfa450cd22457b1c33402245a79674e39 (patch) | |
| tree | b3aff745cd94421755134ad1ab13484d1d88fc1c /cc3200/fatfs | |
| parent | 571e3f5804541fe047458c2abadf7d71e5c85397 (diff) | |
cc3200: Add SD module and disable SD card support for the LAUNCHXL.
Diffstat (limited to 'cc3200/fatfs')
| -rw-r--r-- | cc3200/fatfs/src/ffconf.c | 6 | ||||
| -rw-r--r-- | cc3200/fatfs/src/ffconf.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cc3200/fatfs/src/ffconf.c b/cc3200/fatfs/src/ffconf.c index a52eed55a..f23d24128 100644 --- a/cc3200/fatfs/src/ffconf.c +++ b/cc3200/fatfs/src/ffconf.c @@ -61,11 +61,11 @@ int ff_get_ldnumber (const TCHAR **path) { } if (**path != '/') { - #if _FS_RPATH + #if _FS_RPATH return ff_CurrVol; - #else + #else return -1; - #endif + #endif } if (check_path(path, "/SFLASH", 7)) { diff --git a/cc3200/fatfs/src/ffconf.h b/cc3200/fatfs/src/ffconf.h index d2d123e2e..f4b56f3de 100644 --- a/cc3200/fatfs/src/ffconf.h +++ b/cc3200/fatfs/src/ffconf.h @@ -232,7 +232,7 @@ #define _FS_REENTRANT 1 -#define _FS_TIMEOUT 2000 +#define _FS_TIMEOUT 2500 // milliseconds #define _SYNC_t SemaphoreHandle_t /* The _FS_REENTRANT option switches the re-entrancy (thread safe) of the FatFs / module itself. Note that regardless of this option, file access to different |
