FastLED 3.10.8
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 605 of file manager.cpp.hpp.

605 {
606 // Allow all channel drivers to clean up
607 waitForReady();
608 FL_DBG("ChannelManager: reset() - all drivers ready");
609}
bool waitForReady(u32 timeoutMs=1000) FL_NO_EXCEPT
Wait for all drivers to become READY.
#define FL_DBG
Definition log.h:553

References FL_DBG, fl::FL_NO_EXCEPT, and waitForReady().

Referenced by CFastLED::clear().

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