Skip to content

Commit 5293cef

Browse files
authored
Fix: AudioClass does not have member 'close', use 'end' instead. (#29)
1 parent ccfe438 commit 5293cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/SimpleAudioPlayerZero/SimpleAudioPlayerZero.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void loop()
5656

5757
// until the file is not finished
5858
AudioZero.play(myFile);
59-
AudioZero.close();
59+
AudioZero.end();
6060
Serial.println("End of file. Thank you for listening!");
6161
while (true) ;
6262
}

0 commit comments

Comments
 (0)