Update wled.cpp

reworked based on PR feedback
pull/3946/head
freakintoddles2 2024-05-01 10:07:52 -07:00 zatwierdzone przez GitHub
rodzic 16086c0961
commit 6daf7f6322
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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;