FastLED 3.10.10
Loading...
Searching...
No Matches

◆ waitForReady()

bool fl::IChannelDriver::waitForReady ( u32 timeoutMs = 1000)

Wait for driver to become READY.

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

Definition at line 83 of file driver.cpp.hpp.

83 {
84 // wait until the driver is in a READY state.
85 bool ok = waitForState(false, timeoutMs);
86 return ok;
87}
FL_NO_INLINE bool waitForState(bool allowDraining, u32 timeoutMs) FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, and waitForState().

Referenced by autoResearchLowMemorySetup(), fl::detail::show_batched_legacy(), fl::SlimBridgeController< DATA_PIN, TIMING, RGB_ORDER, WAIT_TIME, typename fl::conditional< B==Bus::AUTO, DriverTraits, BusTraits< B > >::type, XTRA0, DIRECT_SHOW, BATCHED_DIRECT_SHOW >::showPixels(), and waitDone().

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