Skip to content

Commit 38cd35b

Browse files
committed
Fixed regression on FILE_WRITE
Fix arduino-libraries#45
1 parent 9543f55 commit 38cd35b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SD.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <utility/SdFatUtil.h>
2222

2323
#define FILE_READ O_READ
24-
#define FILE_WRITE (O_READ | O_WRITE | O_CREAT)
24+
#define FILE_WRITE (O_READ | O_WRITE | O_CREAT | O_APPEND)
2525

2626
namespace SDLib {
2727

0 commit comments

Comments
 (0)