Skip to content

Commit e91c22e

Browse files
committed
conditional SD_FAT_TYPE
1 parent 78ba1ea commit e91c22e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AudioTools/AudioPlayer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
// SD_FAT_TYPE = 0 for SdFat/File as defined in SdFatConfig.h,
2020
// 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT.
21+
#ifndef SD_FAT_TYPE
2122
#define SD_FAT_TYPE 1
23+
#endif
2224
// Try max SPI clock for an SD. Reduce SPI_CLOCK if errors occur. (40?)
2325
#define SPI_CLOCK SD_SCK_MHZ(50)
2426
// Max file name length including directory path

0 commit comments

Comments
 (0)