Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions Adafruit_VS1053.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,6 @@ boolean Adafruit_VS1053_FilePlayer::startPlayingFile(const char *trackname) {
sciWrite(VS1053_REG_DECODETIME, 0x00);

playingMusic = true;

// wait till its ready for data
while (! readyForData() ) {
#if defined(ESP8266)
yield();
#endif
}

// fill it up!
while (playingMusic && readyForData()) {
feedBuffer();
}

// ok going forward, we can use the IRQ
interrupts();
Expand Down