MCPcopy Create free account
hub / github.com/FastLED/FastLED / waitForReady

Method waitForReady

src/fl/channels/driver.cpp.hpp:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool IChannelDriver::waitForReady(u32 timeoutMs) {
64 // wait until the driver is in a READY state.
65 bool ok = waitForCondition([this]() {
66 auto state = poll();
67 return state.state == IChannelDriver::DriverState::READY;
68 }, timeoutMs);
69 return ok;
70}
71
72bool IChannelDriver::waitForReadyOrDraining(u32 timeoutMs) {
73 // wait until the driver is in a READY or DRAINING state.

Callers 9

waitMethod · 0.45
showPixelsMethod · 0.45
showPixelsMethod · 0.45
showPixelsMethod · 0.45
showPixelsMethod · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected