Skip to content

Commit b770cc8

Browse files
committed
cleanup examples: copier.setCheckAvailableForWrite(false);
1 parent 10957ae commit b770cc8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

examples/examples-audiokit/streams-sd_mp3-audiokit/streams-sd_mp3-audiokit.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ void setup(){
3838
decoder.begin();
3939

4040
// begin copy
41-
copier.setCheckAvailableForWrite(false);
4241
copier.begin(decoder, audioFile);
4342

4443
}

examples/examples-communication/http-client/streams-url-file/streams-url-file.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ void setup(void) {
4646
file = SD.open("/audio-8000.raw", FILE_WRITE);
4747
// overwirte from beginning
4848
file.seek(0);
49-
// File returns avaiableForWrite() = 0, we we need to deactivate this check
50-
copier.setCheckAvailableForWrite(false);
5149
copier.begin(file, url);
5250
copier.copyAll();
5351
file.close();

0 commit comments

Comments
 (0)