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

◆ waitDone()

virtual bool fl::IChannelDriver::waitDone ( u32 timeoutMs = 1000)
inlinevirtual

Block until this driver finishes any in-flight transmit.

Compatibility hook for older direct-driver call sites. ChannelManager does not use per-driver wait primitives for its aggregate wait; it owns a single poll-needed wait signal and polls all active drivers after each signal or timeout slice.

Parameters
timeoutMsOptional timeout in milliseconds (0 = no timeout)
Returns
true if driver became READY, false if timeout occurred

Definition at line 253 of file driver.h.

253 {
254 return waitForReady(timeoutMs);
255 }
bool waitForReady(u32 timeoutMs=1000) FL_NOEXCEPT
Wait for driver to become READY.

References FL_NOEXCEPT, and waitForReady().

+ Here is the call graph for this function: