Update playlist.cpp

This commit is contained in:
freakintoddles2 2024-05-01 10:09:17 -07:00 committed by GitHub
parent 6daf7f6322
commit db475b6998
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ void handlePlaylist(bool doAdvancePlaylist) {
static unsigned long presetCycledTime = 0;
if (currentPlaylist < 0 || playlistEntries == nullptr) return;
if (millis() - presetCycledTime > (100 * playlistEntryDur) || skipNext) {
if (millis() - presetCycledTime > (100 * playlistEntryDur) || doAdvancePlaylist) {
presetCycledTime = millis();
if (bri == 0 || nightlightActive) return;