FastLED 3.10.8
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 drivers became READY, false if the timeout elapsed.

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

798 {
799 fl::ChannelManager& manager = fl::channelManager();
800 return manager.waitForReady(timeout_ms);
801}
bool waitForReady(u32 timeoutMs=1000) FL_NO_EXCEPT
Wait for all drivers to become READY.
ChannelManager & channelManager() FL_NO_EXCEPT
Get the global ChannelManager singleton instance.

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

+ Here is the call graph for this function: