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

◆ waitForReadyOrDraining()

bool fl::ChannelManager::waitForReadyOrDraining ( u32 timeoutMs = 1000)

Definition at line 592 of file manager.cpp.hpp.

592 {
593 bool ok = waitForState(true, timeoutMs);
594 if (!ok) {
595 FL_ERROR("ChannelManager: Timeout occurred while waiting for READY or DRAINING state");
596 }
597 return ok;
598}
FL_NO_INLINE bool waitForState(bool allowDraining, u32 timeoutMs) FL_NO_EXCEPT
Wait for READY, optionally accepting DRAINING, with shared wait logic.
#define FL_ERROR(...)
Definition log.h:373

References FL_ERROR, fl::FL_NO_EXCEPT, and waitForState().

Referenced by onEndFrame().

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