mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 22:37:18 +00:00
Update wled.cpp
reworked based on PR feedback
This commit is contained in:
parent
16086c0961
commit
6daf7f6322
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user