From 1b4faa92cd708a403d6f26890a1c94fc1bad0304 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Fri, 31 Mar 2023 17:58:30 +0100 Subject: [PATCH] Update IO_DFPlayer.h Reinstate STOP command in place of PAUSE, as PAUSE was being reported differently to STOP in the status response. --- IO_DFPlayer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IO_DFPlayer.h b/IO_DFPlayer.h index 4c2b2f1..edd416d 100644 --- a/IO_DFPlayer.h +++ b/IO_DFPlayer.h @@ -221,7 +221,7 @@ protected: sendPacket(0x03, _requestedSong); _requestedSong = -1; } else if (_requestedSong == 0) { - sendPacket(0x0e); // Pause playing + sendPacket(0x16); // Stop playing _requestedSong = -1; } else if (_currentVolume < _requestedVolumeLevel) { // Change volume after changing song if volume is increasing.