Skip to content

Commit

Permalink
Update wled.cpp
Browse files Browse the repository at this point in the history
reworked based on PR feedback
  • Loading branch information
freakintoddles2 authored May 1, 2024
1 parent 16086c0 commit 6daf7f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wled00/wled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,12 @@ void WLED::loop()

toki.resetTick();

// Advance to next playlist preset if the flag is set to true
if (doAdvancePlaylist) {
handlePlaylist(true);
doAdvancePlaylist = false; // Reset flag to false
}

#if WLED_WATCHDOG_TIMEOUT > 0
// we finished our mainloop, reset the watchdog timer
static unsigned long lastWDTFeed = 0;
Expand Down

0 comments on commit 6daf7f6

Please sign in to comment.