Skip to content

Commit 356f408

Browse files
Make FILE_WRITE append in SD.h wrapper
Fixes esp8266#6105
1 parent eea9999 commit 356f408

File tree

1 file changed

+1
-1
lines changed
  • libraries/SD/src

1 file changed

+1
-1
lines changed

libraries/SD/src/SD.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#undef FILE_READ
2828
#define FILE_READ sdfat::O_READ
2929
#undef FILE_WRITE
30-
#define FILE_WRITE (sdfat::O_READ | sdfat::O_WRITE | sdfat::O_CREAT)
30+
#define FILE_WRITE (sdfat::O_READ | sdfat::O_WRITE | sdfat::O_CREAT | sdfat::O_APPEND)
3131

3232
class SDClass {
3333
public:

0 commit comments

Comments
 (0)