mirror of
https://github.com/wled/WLED.git
synced 2025-04-19 20:37:23 +00:00
retrun value fix
This commit is contained in:
parent
7b56e53c47
commit
6dfbd07e86
@ -54,7 +54,7 @@ void unloadPlaylist() {
|
||||
|
||||
|
||||
int16_t loadPlaylist(JsonObject playlistObj, byte presetId) {
|
||||
if (currentPlaylist > 0 && parentPlaylistPresetId > 0) return; // we are already in nested playlist, do nothing
|
||||
if (currentPlaylist > 0 && parentPlaylistPresetId > 0) return -1; // we are already in nested playlist, do nothing
|
||||
if (currentPlaylist > 0) {
|
||||
parentPlaylistIndex = playlistIndex;
|
||||
parentPlaylistRepeat = playlistRepeat;
|
||||
|
Loading…
x
Reference in New Issue
Block a user