|
|
|
|
|
|
|
|
/** Select type for SdFat. */ |
|
|
/** Select type for SdFat. */ |
|
|
typedef SdFat32 SdFat; |
|
|
typedef SdFat32 SdFat; |
|
|
/** Select type for File. */ |
|
|
/** Select type for File. */ |
|
|
|
|
|
#if !defined(__has_include) || !__has_include(<FS.h>) |
|
|
typedef File32 File; |
|
|
typedef File32 File; |
|
|
|
|
|
#endif |
|
|
/** Select type for SdBaseFile. */ |
|
|
/** Select type for SdBaseFile. */ |
|
|
typedef FatFile SdBaseFile; |
|
|
typedef FatFile SdBaseFile; |
|
|
#elif SDFAT_FILE_TYPE == 2 |
|
|
#elif SDFAT_FILE_TYPE == 2 |
|
|
typedef SdExFat SdFat; |
|
|
typedef SdExFat SdFat; |
|
|
|
|
|
#if !defined(__has_include) || !__has_include(<FS.h>) |
|
|
typedef ExFile File; |
|
|
typedef ExFile File; |
|
|
|
|
|
#endif |
|
|
typedef ExFatFile SdBaseFile; |
|
|
typedef ExFatFile SdBaseFile; |
|
|
#elif SDFAT_FILE_TYPE == 3 |
|
|
#elif SDFAT_FILE_TYPE == 3 |
|
|
typedef SdFs SdFat; |
|
|
typedef SdFs SdFat; |
|
|
|
|
|
#if !defined(__has_include) || !__has_include(<FS.h>) |
|
|
typedef FsFile File; |
|
|
typedef FsFile File; |
|
|
|
|
|
#endif |
|
|
typedef FsBaseFile SdBaseFile; |
|
|
typedef FsBaseFile SdBaseFile; |
|
|
#else // SDFAT_FILE_TYPE |
|
|
#else // SDFAT_FILE_TYPE |
|
|
#error Invalid SDFAT_FILE_TYPE |
|
|
#error Invalid SDFAT_FILE_TYPE |