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();
}
CFastLED FastLED
Global LED strip management instance.
static fl::Watchdog & watchdog()
Access the unified cross-platform watchdog timer.
void markCleanShutdown() FL_NOEXCEPT
Definition at line 740 of file FastLED.cpp.hpp.
740 {
742}
static Watchdog & instance() FL_NOEXCEPT
References fl::Watchdog::instance().