From f3ebd3608010bf76764069d281a411976e58892f Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Mon, 2 Jan 2023 08:31:53 +0100 Subject: [PATCH] Fix: AudioClass does not have member 'close', use 'end' instead. --- examples/SimpleAudioPlayer/SimpleAudioPlayer.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/SimpleAudioPlayer/SimpleAudioPlayer.ino b/examples/SimpleAudioPlayer/SimpleAudioPlayer.ino index da825f1..36151d5 100644 --- a/examples/SimpleAudioPlayer/SimpleAudioPlayer.ino +++ b/examples/SimpleAudioPlayer/SimpleAudioPlayer.ino @@ -75,7 +75,7 @@ void loop() { } } myFile.close(); - Audio.close(); + Audio.end(); Serial.println("End of file. Thank you for listening!"); while (true) ; }