FastLED 3.9.15
Loading...
Searching...
No Matches

◆ reset()

void fl::ChannelManager::reset ( )

Reset bus manager state, clearing all enqueued and transmitting channels.

Note
Call this between test cases or when reinitializing the LED system

Definition at line 569 of file manager.cpp.hpp.

569 {
570 // Allow all channel drivers to clean up
571 waitForReady();
572 FL_DBG("ChannelManager: reset() - all drivers ready");
573}
bool waitForReady(u32 timeoutMs=1000) FL_NOEXCEPT
Wait for all drivers to become READY.
#define FL_DBG
Definition log.h:388

References FL_DBG, and waitForReady().

Referenced by CFastLED::clear().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: