mirror of
https://github.com/wled/WLED.git
synced 2025-07-09 20:06:33 +00:00
Update playlist.cpp
reworked approach based on feedback
This commit is contained in:
parent
caa4fe1ec4
commit
a2b9aed40d
@ -123,7 +123,7 @@ int16_t loadPlaylist(JsonObject playlistObj, byte presetId) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void handlePlaylist(bool skipNext) {
|
void handlePlaylist(bool doAdvancePlaylist) {
|
||||||
static unsigned long presetCycledTime = 0;
|
static unsigned long presetCycledTime = 0;
|
||||||
if (currentPlaylist < 0 || playlistEntries == nullptr) return;
|
if (currentPlaylist < 0 || playlistEntries == nullptr) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user