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

◆ wait() [2/2]

bool CFastLED::wait ( fl::u32 timeout_ms)

Wait for all channel bus transmissions to complete with timeout.

Parameters
timeout_msMaximum milliseconds to wait (0 = wait forever)
Returns
true if all engines became READY, false if timeout occurred

Definition at line 597 of file FastLED.cpp.hpp.

597 {
598 fl::ChannelManager& manager = fl::channelManager();
599 return manager.waitForReady(timeout_ms);
600}
bool waitForReady(u32 timeoutMs=1000) FL_NOEXCEPT
Wait for all drivers to become READY.
ChannelManager & channelManager()
Get the global ChannelManager singleton instance.

References fl::channelManager(), and fl::ChannelManager::waitForReady().

+ Here is the call graph for this function: