Update IO_DFPlayer.h

Reinstate STOP command in place of PAUSE, as PAUSE was being reported differently to STOP in the status response.
This commit is contained in:
Neil McKechnie 2023-03-31 17:58:30 +01:00
parent 6fbaca7930
commit 1b4faa92cd
1 changed files with 1 additions and 1 deletions

View File

@ -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.