Update playlist.cpp

reworked approach based on feedback
This commit is contained in:
freakintoddles2 2024-05-01 10:03:16 -07:00 committed by GitHub
parent caa4fe1ec4
commit a2b9aed40d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,7 +123,7 @@ int16_t loadPlaylist(JsonObject playlistObj, byte presetId) {
}
void handlePlaylist(bool skipNext) {
void handlePlaylist(bool doAdvancePlaylist) {
static unsigned long presetCycledTime = 0;
if (currentPlaylist < 0 || playlistEntries == nullptr) return;