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
2 changes: 1 addition & 1 deletion Adafruit_VS1053.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ void Adafruit_VS1053_FilePlayer::feedBuffer_noLock(void) {
// Read some audio data from the SD card file
int bytesread = currentTrack.read(mp3buffer, VS1053_DATABUFFERLEN);

if (bytesread == 0) {
if (bytesread <= 0) {
// must be at the end of the file
if (_loopPlayback) {
// play in loop
Expand Down
Loading