diff options
| author | hathach <[email protected]> | 2013-09-26 15:15:16 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-09-26 15:15:16 +0700 |
| commit | 238afb474fd2c472e81874c9240bf55dd5c5c271 (patch) | |
| tree | ab4d41890e75d7df0b0b960b5a7df245f2a2a5ec /vendor | |
| parent | a6726f7d39e15cb01196eaba91ab494b54a00bdb (diff) | |
house keeping
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/fatfs/ccsbcs.c | 3 | ||||
| -rw-r--r-- | vendor/fatfs/diskio.c | 2 | ||||
| -rw-r--r-- | vendor/fatfs/ff.c | 4 | ||||
| -rw-r--r-- | vendor/fatfs/ff.h | 1 |
4 files changed, 8 insertions, 2 deletions
diff --git a/vendor/fatfs/ccsbcs.c b/vendor/fatfs/ccsbcs.c index e5634173b..51c858b58 100644 --- a/vendor/fatfs/ccsbcs.c +++ b/vendor/fatfs/ccsbcs.c @@ -27,6 +27,7 @@ #include "ff.h" +#if TUSB_CFG_HOST_MSC #if _CODE_PAGE == 437 #define _TBLDEF 1 @@ -538,3 +539,5 @@ WCHAR ff_wtoupper ( /* Upper converted character */ return tbl_lower[i] ? tbl_upper[i] : chr; } + +#endif // TUSB_CFG_HOST_MSC diff --git a/vendor/fatfs/diskio.c b/vendor/fatfs/diskio.c index 58e590775..3b73a79c5 100644 --- a/vendor/fatfs/diskio.c +++ b/vendor/fatfs/diskio.c @@ -202,4 +202,4 @@ DWORD get_fattime (void) return timestamp.value; } -#endif +#endif // TUSB_CFG_HOST_MSC diff --git a/vendor/fatfs/ff.c b/vendor/fatfs/ff.c index 7c9857c2b..5e6a37e29 100644 --- a/vendor/fatfs/ff.c +++ b/vendor/fatfs/ff.c @@ -99,7 +99,7 @@ #include "ff.h" /* FatFs configurations and declarations */ #include "diskio.h" /* Declarations of low level disk I/O functions */ - +#if TUSB_CFG_HOST_MSC /*-------------------------------------------------------------------------- Module Private Definitions @@ -4323,3 +4323,5 @@ int f_printf ( #endif /* !_FS_READONLY */ #endif /* _USE_STRFUNC */ + +#endif // TUSB_CFG_HOST_MSC diff --git a/vendor/fatfs/ff.h b/vendor/fatfs/ff.h index eb60ebfc1..caaae8f2c 100644 --- a/vendor/fatfs/ff.h +++ b/vendor/fatfs/ff.h @@ -23,6 +23,7 @@ extern "C" { #include "integer.h" /* Basic integer types */ #include "ffconf.h" /* FatFs configuration options */ +#include "tusb_config.h" #if _FATFS != _FFCONF #error Wrong configuration file (ffconf.h). |
