Skip to content

Commit 5cff10a

Browse files
authored
Merge pull request #33 from adafruit/fix-copy-constructor
fix copy constructor backward compatible for libraries such as Adafruit_WavePlayer
2 parents 54986f0 + 67bb09a commit 5cff10a

File tree

2 files changed

+1
-55
lines changed

2 files changed

+1
-55
lines changed

CMakeLists.txt

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/SdFatConfig.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#define FAT12_SUPPORT 1
3838
#define SDFAT_FILE_TYPE 1
3939
#define USE_SPI_ARRAY_TRANSFER 1
40+
#define FILE_COPY_CONSTRUCTOR_SELECT FILE_COPY_CONSTRUCTOR_PUBLIC // backward compatible for libraries such as Adafruit_WavePlayer
4041

4142
// This option will take around 2K of flash, skip for AVR
4243
#ifndef __AVR__

0 commit comments

Comments
 (0)