Access the unified cross-platform watchdog timer.
- Returns
- Reference to the Watchdog singleton
- Note
- See fl/wdt/watchdog.h and FastLED#2731. Tier 0 surface is universal.
if (
FastLED.watchdog().isInSafeMode()) {
while (
true) {} }
}
doWork();
}
static fl::Watchdog & watchdog() FL_NO_EXCEPT
Access the unified cross-platform watchdog timer.
void markCleanShutdown() FL_NO_EXCEPT
CFastLED FastLED
Global LED strip management instance.
Definition at line 939 of file FastLED.cpp.hpp.
939 {
941}
static Watchdog & instance() FL_NO_EXCEPT
References FL_NO_EXCEPT, and fl::Watchdog::instance().